gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Compile error under Mandrake 8.1 using gcc


From: Mitch Patenaude
Subject: [Gcl-devel] Compile error under Mandrake 8.1 using gcc
Date: Mon, 11 Oct 2004 22:16:40 -0700

Using gcc 2.97 I'm getting a difficult to trace syntax error while
compiling gcl-2.6.5

The relevant portion of the make:
(cd o; make all)
make[1]: Entering directory `/home/mrp/src/gcl-2.6.5/o'
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3
-fomit-frame-pointer  -I/home/mrp/src/gcl-2.6.5/o -I../h -I../gcl-tk
main.c
In file included from ../h/notcomp.h:289,
                 from ../h/include.h:71,
                 from main.c:49:
../h/gmp_wrappers.h: In function `m__gmpz_add':
../h/gmp_wrappers.h:111: parse error before `int'
../h/gmp_wrappers.h:111: `j' undeclared (first use in this function)
../h/gmp_wrappers.h:111: (Each undeclared identifier is reported only once
../h/gmp_wrappers.h:111: for each function it appears in.)
../h/gmp_wrappers.h: In function `m__gmpz_add_ui':
../h/gmp_wrappers.h:112: parse error before `int'
../h/gmp_wrappers.h:112: `j' undeclared (first use in this function)
../h/gmp_wrappers.h: In function `m__gmpz_sub':
../h/gmp_wrappers.h:113: parse error before `int'
[.... continues for about 20 more instances....]

Pretty obviously related to the macro for MEM_GMP_CALL, and while
trying to parse that #define is giving me the willies (and reading the
comment gave me the screaming heebeegeebees) as near as I can tell,
it's having to do with the use of Join(xxx,yyy) to build another
#define keyword from parts.  I don't remember this from K&R, so maybe
this is a GCC specific thing... but if it was added in GCC 3.x.x, then
I might understand why this is broken.

If that isn't it, can anybody point me in the right direction?

  Thanks
  -- Mitch




reply via email to

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