Mail Archives: djgpp/2004/09/21/14:16:04
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
From: | Cesar Rabak <crabak AT acm DOT org>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: bnu214s compiled for djgpp 2.04 alpha
|
Date: | Tue, 21 Sep 2004 15:12:55 -0300
|
Lines: | 58
|
Message-ID: | <41506F27.9090708@acm.org>
|
References: | <1095764328 DOT 4150096823262 AT webmail DOT wilkes DOT edu>
|
Mime-Version: | 1.0
|
X-Trace: | news.uni-berlin.de xgtLZwwprjravFWfIA2Q4wZ7Ep1kXu0GSWB0UqAJXMch2LXaw=
|
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02
|
X-Accept-Language: | pt-br, pt
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
fdonahoe AT wilkes DOT edu escreveu:
>
> Has anyone anything to offer to resolve the error found by
> gcc 3.4.2 in the source of gmp-4.12?
>
> Is it, "This time the designers of gcc have gone too far!
> Go back to 3.3.x."??
>
> The errors were like this sample.
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -D__GMP_WITHIN_GMP -g -O2 \
>
> -fomit-frame-pointer -mtune=i486 -march=i386 -c mpz/aorsmul_i.c
>
> mpz/aorsmul_i.c:62: error: conflicting types for '__gmpz_aorsmul_1'
>
> /gmp-impl.h:628: error: previous declaration of '__gmpz_aorsmul_1' \
>
> was here
>
> mpz/aorsmul_i.c:62: error: conflicting types for '__gmpz_aorsmul_1'
>
> /gmp-impl.h:628: error: previous declaration of '__gmpz_aorsmul_1' \
>
> was here
>
> make.exe[2]: *** [mpz/aorsmul_i.lo] Error 1
>
>
>
> from gmp-impl.h
>
> 628: void __gmpz_aorsmul_1 _PROTO ((REGPARM_3_1 (mpz_ptr w, \
>
> mpz_srcptr u, mp_limb_t v, mp_size_t sub))) REGPARM_ATTR(1);
>
>
>
> from mpz/aorsmul_i.c
>
> 61: mpz_aorsmul_1 (mpz_ptr w, mpz_srcptr x, mp_limb_t y, \
>
> mp_size_t sub)
>
Frank,
Does the mpz_aorsmul_1 function definition starts on line 61 of
aorsmul_i.c, or there is a 'void' in the previous line?
If there is the 'void' in aorsmul_i.c, then could you please run:
gcc -E aorsmul_i.c -o aorsmul_i.i
and see how the declaration at line 628 expands?
--
Cesar Rabak
- Raw text -