gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gcl-devel] Gcc 3.4 and GCL


From: Mike Thomas
Subject: RE: [Gcl-devel] Gcc 3.4 and GCL
Date: Tue, 11 May 2004 14:31:31 +1000

Hi again.

The GMP type problem is resolved by adding "REGPARM_ATTR (1)" qualifiers to
certain function definitions eg:

REGPARM_ATTR (1)  static void
cfdiv_r_2exp (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir)

Cheers

Mike Thomas.


| MinGW32 gcc 3.4 was released yesterday so I ran a quick check
| with GCL which
| fails on gmp3 due to type errors like this one:
|
| ==================================================================
| ==========
| ========
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -g -O2
| -fomit-frame
| -poi
| nter -mcpu=i486 -march=i386 -c cfdiv_q_2exp.c
| `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
| cfdiv_q_2exp.c:34: error: conflicting types for '__gmpz_cfdiv_q_2exp'
| cfdiv_q_2exp.c:29: error: previous declaration of
| '__gmpz_cfdiv_q_2exp' was
| here
|
| cfdiv_q_2exp.c:34: error: conflicting types for '__gmpz_cfdiv_q_2exp'
| cfdiv_q_2exp.c:29: error: previous declaration of
| '__gmpz_cfdiv_q_2exp' was
| here
| ==================================================================
| ==========
| ========








reply via email to

[Prev in Thread] Current Thread [Next in Thread]