compiling using version 3.2.3 vs. 2.96

Ramji Kamakoti ramjik@gmail.com
Mon Apr 25 16:06:00 GMT 2005


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)'



More information about the Gcc-help mailing list