Inline warnings with GCC 4.2 in C99 mode
Ludovic Courtès
ludo at gnu.org
Tue Apr 8 13:23:55 CEST 2008
Hi,
"Steve M. Robbins" <steve at sumost.ca> writes:
> Is the effect of this patch the same as compiling with -fgnu89-inline,
> or does it do something different?
Yes. The trick is that 4.2 does not support C99 "extern inline" but
does support the `__gnu_inline__' attribute whose sole effect is to turn
off this warning, just like `-fgnu89-inline' but limited to the
declarations that use that attribute.
Thanks,
Ludovic.
More information about the gmp-bugs
mailing list