compile GMP for Visual C++?
Brian Gladman
brg at gladman.plus.com
Tue Jul 6 01:36:56 CEST 2004
Jacek Blaszczynski wrote:
> Hello!
>
> I tried to compile gmp-4.1.3 using projects from
>
> http://fp.gladman.plus.com/computing/gmp4win.htm_
>
> Unfortunately, there are multiple compile errors in gmp-impl.h file,
> which was supposed to be replaced by zipped package, but was not.
I don't replace this file (as far as I recall).
> Any ideas how to fix it?
[snip details]
The HAVE_ATTRIBUTE_XX definition lines in config.h should be:
#undef HAVE_ATTRIBUTE_CONST
#undef HAVE_ATTRIBUTE_MALLOC
#undef HAVE_ATTRIBUTE_MODE
#undef HAVE_ATTRIBUTE_NORETURN
but it seems that they are defined in your config.h file or maybe
elsehwere. Fixing this should overcoem the problem.
Brian Gladman
More information about the gmp-discuss
mailing list