Re: problems on Solaris - Mailing list pgsql-hackers

From Robert Haas
Subject Re: problems on Solaris
Date
Msg-id CA+TgmoZMb6NzR-_UsoFFwZgm2xxrJUWk5wCgZwUjnnfnqk=8tQ@mail.gmail.com
Whole thread Raw
In response to Re: problems on Solaris  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Wed, Jun 24, 2015 at 8:42 AM, Andres Freund <andres@anarazel.de> wrote:
> I'm wondering wether we should add a #warning to atomic.c if either the
> fallback memory or compiler barrier is used? Might be annoying to people
> using -Werror, but I doubt that's possible anyway on such old systems.

#warning isn't totally portable, so I think it might be better not to
do that.  Yeah, it'll work in a lot of places, but the sorts of
obscure systems where the fallbacks are used are also more likely to
have funky compilers that just barf on the directive outright.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Multixid hindsight design
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Add CINE for ALTER TABLE ... ADD COLUMN