Removing the last macros for non-ANSI...

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
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
GMP-5.1!

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?

Regards,
m

-- 
http://bodrato.it/papers/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_have_proto.diff
Type: text/x-patch
Size: 2840 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20120308/5c605b6e/attachment.bin>


More information about the gmp-devel mailing list