Removing the last macros for non-ANSI...

bodrato at bodrato at
Thu Mar 8 09:23:40 CET 2012

We removed some macro definitions from gmp.h: __GMP_PROTO,
__GMP_HAVE_CONST, __GMP_HAVE_TOKEN_PASTE, __gmp_signed, __gmp_const.

None of them was documented, AFAIK, but some of them where used by code
examples in demos/ ... this means that we have to hope that nobody based
his code on the demos. Otherwise it will not be source compatible with

There is one still there: __GMP_HAVE_PROTOTYPES. To remove it we should
also remove the GMP_H_ANSI macro from acinclude.m4

Do you agree with the attached patch?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_have_proto.diff
Type: text/x-patch
Size: 2840 bytes
Desc: not available
URL: <>

More information about the gmp-devel mailing list