
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