Inline warnings with GCC 4.2 in C99 mode
Steve M. Robbins
steve at sumost.ca
Tue Apr 8 02:25:32 CEST 2008
On Fri, Apr 04, 2008 at 10:43:39AM +0200, Ludovic Courtès wrote:
> Hi,
>
> GMP 4.2.2 correctly guards against GCC 4.3's semantic change of "extern
> inline" in C99 mode. However, it does not avoid GCC 4.2's warnings in
> C99 mode:
>
> gmp.h:1606: warning: C99 inline functions are not supported; using GNU89
>
> The attached patch (based on what's done in Guile) fixes it.
Is the effect of this patch the same as compiling with -fgnu89-inline,
or does it do something different?
Thanks,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://gmplib.org/list-archives/gmp-bugs/attachments/20080407/48de74fe/attachment.bin
More information about the gmp-bugs
mailing list