Various patches against gmp-4.3.0
Michiel De Wilde
mdewilde.agilent at googlemail.com
Wed Apr 29 11:04:35 CEST 2009
Dear GMP developers,
At Agilent Technologies we use GMP to provide exact rational arithmetic for
our computational geometry needs. We build GMP in 32 bit and 64 bit versions
on linux, native win32 dll (Visual Studio), and sun.
Attached are a number of patches against gmp-4.3.0 that we need to apply to
get everything working. Please apply them to your code repository as you see
fit.
Patch summary:
- always_include_stdarg.diff
fixes forgotten stdarg.h inclusion in gmp-h.in
- binvert_mpn_neg_n_handling.diff
fixes invalid redefinition of mpn_neg_n
- dont_redefine_restrict_keyword.diff
Windows does not like the redefinition of "restrict" as it is being used
in some win32 headers
- forgotten_cstdio.diff
fixes forgotten cstdio.h inclusion in gmp-h.in
- forgotten_extern_C.diff
fix for t-locale.cc where an extra extern "C" is needed
- much_more_declspecs.diff
in order to make a GMP dll and run the testsuite on it, a lot of
functions need to be exported in the dll that currently aren't
- mul_bad_want_assert.diff
don't declare a variable in the middle of a block in plain C
- relax_multiple_symbols.diff
fix for t-locale where the same symbol (don't remember which) appears
twice
- replace_strcasecmp.diff
strcasecmp does not exist on Windows, but there is an identical
alternative: lstrcmpiA
- repl-vsnprintf.c.diff
fix for an error in repl-vsnprintf.c
- visual_c_sun_inline.diff
correct __GMP_EXTERN_INLINE definitions for Visual Studio and Sun
Kind regards,
Michiel De Wilde
Agilent Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: always_include_stdarg.diff
Type: application/octet-stream
Size: 352 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binvert_mpn_neg_n_handling.diff
Type: application/octet-stream
Size: 991 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dont_redefine_restrict_keyword.diff
Type: application/octet-stream
Size: 1387 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forgotten_cstdio.diff
Type: application/octet-stream
Size: 262 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forgotten_extern_C.diff
Type: application/octet-stream
Size: 387 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: much_more_declspecs.diff
Type: application/octet-stream
Size: 54765 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mul_bad_want_assert.diff
Type: application/octet-stream
Size: 569 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relax_multiple_symbols.diff
Type: application/octet-stream
Size: 731 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: replace_strcasecmp.diff
Type: application/octet-stream
Size: 500 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repl-vsnprintf.c.diff
Type: application/octet-stream
Size: 595 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0020.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visual_c_sun_inline.diff
Type: application/octet-stream
Size: 707 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090429/ba72df1d/attachment-0021.obj>
More information about the gmp-devel
mailing list