macosx extern inline problem
Marc Glisse
marc.glisse at inria.fr
Tue May 25 11:00:22 CEST 2010
On Mon, 24 May 2010, Jay K wrote:
>> /* Apple gcc 4.0.1 -std=gnu99 has problems, worked around here. */
>> #if defined __GNUC_STDC_INLINE__ && defined __APPLE__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0
I believe you need a somewhat more specific test to differentiate between
the stock gcc-4.0 from gcc.gnu.org (which currently works) and the one
provided by XCode. Maybe the value of __APPLE_CC__ is different? (I
haven't checked if the rest of your test is correct)
--
Marc Glisse
More information about the gmp-discuss
mailing list