[Top][All Lists]
[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
| ==================================================================
| ==========
| ========
- [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/11
- RE: [Gcl-devel] Gcc 3.4 and GCL,
Mike Thomas <=
- RE: [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/11
- Re: [Gcl-devel] Gcc 3.4 and GCL, Camm Maguire, 2004/05/11
- RE: [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/13
- Re: [Gcl-devel] Gcc 3.4 and GCL, Camm Maguire, 2004/05/13
- RE: [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/13
- Re: [Gcl-devel] Gcc 3.4 and GCL, Camm Maguire, 2004/05/18
- RE: [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/23
- Re: [Gcl-devel] Gcc 3.4 and GCL, David MENTRE, 2004/05/24
- RE: [Gcl-devel] Gcc 3.4 and GCL, Mike Thomas, 2004/05/24
- Re: [Gcl-devel] Gcc 3.4 and GCL, David MENTRE, 2004/05/25