Hi Bruno,

Bruno Haible <[EMAIL PROTECTED]> writes:

> The #ifdefs for determining which variant of 'inline' or 'extern inline'
> don't work any more with the Apple GCC compiler on MacOS X.

FWIW, I had reported these issues too:

  http://thread.gmane.org/gmane.comp.lib.gmp.bugs/1979

I can't find the source repository (!) so I don't know whether a similar
patch was applied.

>  #ifdef __GNUC__
> -#ifdef __GNUC_STDC_INLINE__
> +#ifdef __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
>  #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ 
> ((__gnu_inline__))

This would break with GCC < 4.2 because the `gnu_inline' attribute is
supported starting from GCC 4.2.

Thanks,
Ludovic.


Reply via email to