[PURRS-devel] Giac 0.4.0 and GCC 3.4.0

Roberto Bagnara bagnara at cs.unipr.it
Wed May 5 18:57:03 CEST 2004


Dear Sir,

I have downloaded Giac 0.4.0 from

   ftp://ftp-fourier.ujf-grenoble.fr/xcas/giac_unstable.tgz

and tried to compile it with GCC 3.4.0.  The compilation
aborts very soon as follows:

...
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -g -O2 -c gausspol.cc  -fPIC -DPIC -o
.libs/gausspol.lo
In file included from poly.h:26,
                  from sym2poly.h:23,
                  from sym2poly.cc:32:
monomial.h: In function `giac::monomial<T> giac::Untrunc1(const T&, int)':
monomial.h:151: error: insufficient contextual information to determine type
monomial.h:151: error: base operand of `->' is not a pointer
monomial.h:302: confused by earlier errors, bailing out
In file included from poly.h:26,
                  from gausspol.h:22,
                  from gausspol.cc:28:
monomial.h: In function `giac::monomial<T> giac::Untrunc1(const T&, int)':
monomial.h:151: error: insufficient contextual information to determine type
monomial.h:151: error: base operand of `->' is not a pointer
monomial.h:302: confused by earlier errors, bailing out
make[2]: *** [sym2poly.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gausspol.lo] Error 1
make[2]: Leaving directory `/usr/local/distrib/giac-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/distrib/giac-0.4.0'
make: *** [all-recursive-am] Error 2

I am unsure about whether this is an indication that Giac 0.4.0
uses some non-standard C++ features that are now rejected by
g++ or if we are presented with a bug in g++.
What do you think?
All the best, and thanks in advance for your time.

     Roberto Bagnara

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PURRS-devel mailing list