|
Message-ID: <BLU0-SMTP211A65BA6D650AB3C9319D6FDB00@phx.gbl> Date: Sat, 27 Apr 2013 12:11:21 +0200 From: Frank Dittrich <frank_dittrich@...mail.com> To: john-dev@...ts.openwall.com Subject: Re: Inline macros On 04/27/2013 11:55 AM, magnum wrote: > FWIW, this definition: > > #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) > #define MAYBE_INLINE __attribute__((always_inline)) inline > > ...has evolved into this in Jumbo, for better compatibility with clang and maybe something else I can't remember: > > #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) > #define MAYBE_INLINE __attribute__((always_inline)) inline > #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) > #define MAYBE_INLINE __attribute__((always_inline)) IIRC, gcc >= 4.7.1 required the addition of "inline", to avoid tons of warnings. But clang complained, despite claiming to be compatible with gcc 4.2.1. Frank
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.