[Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
vingocheng at 126 dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 17 05:17:00 GMT 2007
------- Comment #8 from vingocheng at 126 dot com 2007-04-17 06:16 -------
The problem still exist. My working environment is :
GCC : gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
GMP : the latest release version (gmp4.1)
During compiling, the error will occur.
But I fount if I remove the code "static void __gmpz_aorsmul _PROTO
((REGPARM_3_1 (mpz_ptr w, mpz_srcptr x, mpz_srcptr y, mp_size_t sub)))
REGPARM_ATTR (1);" , it can be passed.
So to solve the problem, you can remove the static declaration for the
functions that have conflicting type. But I am not sure whether is correct or
not. It only make the process of compiling passed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095
More information about the Gcc-bugs
mailing list