This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compiling using version 3.2.3 vs. 2.96
- From: Ramji Kamakoti <ramjik at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Apr 2005 12:06:28 -0400
- Subject: compiling using version 3.2.3 vs. 2.96
- Reply-to: Ramji Kamakoti <ramjik at gmail dot com>
Hi,
There was a recent upgrade to gcc version 3.2.3 from 2.96 for our
64-bit SGI altix computers. Ever since this upgrade, I get a whole
bunch of errors when I try to compile any of my .cc files. However,
when I use the older 2.96 version, I don't seem to get the errors.
I've pointed out some of the errors at the end of this email. Are
these common errors because of the upgrade ? If so, is there a way to
fix this ?
Thanks in advance for the help.
Ramji
ERROR MESSAGE
mixtureRule.cc: At global scope:
mixtureRule.cc:45: syntax error before `&' token
mixtureRule.cc: In member function `virtual void
AdditiveVolumeMixtureRule::Apply(...) const':
mixtureRule.cc:55: `vector' undeclared (first use this function)
mixtureRule.cc:55: syntax error before `>' token
mixtureRule.cc:56: `indexPtr' undeclared (first use this function)
mixtureRule.cc:56: request for member `begin' in `index(const char*, int)',
which is of non-aggregate type `char*()(const char*, int)'
mixtureRule.cc:56: request for member `end' in `index(const char*, int)', which
is of non-aggregate type `char*()(const char*, int)'
mixtureRule.cc:58: `v' undeclared (first use this function)
mixtureRule.cc:58: `speciesMassFraction' undeclared (first use this function)
mixtureRule.cc:58: `t' undeclared (first use this function)
mixtureRule.cc:58: `p' undeclared (first use this function)
mixtureRule.cc:69: syntax error before `>' token
mixtureRule.cc:70: request for member `begin' in `index(const char*, int)',
which is of non-aggregate type `char*()(const char*, int)'
mixtureRule.cc:70: request for member `end' in `index(const char*, int)', which
is of non-aggregate type `char*()(const char*, int)'