On Wed, Jun 24, 2015 at 8:42 AM, Andres Freund <and...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers