preprocessor, 'inline', and Apple's gcc

Torbjorn Granlund tg at
Wed Mar 19 16:21:11 CET 2008

[I follow up to gmp-devel, the original message was to gmp-dicsuss,
but this is a developer issue.]

I take it that there are no problems unless you force the use of the
-std=c99 option?

We might support adding that option, if it is convenient.

There are some issues with your proposed patch.

Why don't we ignore __GNU_STDC_INLINE__ and make decision solely on
__STDC_VERSION__ (when __GNUC__ is defined)?  That ought to simplify
the logics.

Please avoid using #elif; we still support K&R compilers.


More information about the gmp-devel mailing list