backward compatibility of g++ ?

trinks trinks@esc.cam.ac.uk
Sat Jul 26 17:59:00 GMT 2003


Hi,

I have been developing a code (~15.000 lines) using 
g++-2.95 on Mandrake 8.2.

After upgrading to Mandrake 9.0 I had to realise that g++3.2 doesn't 
compile my code anymore. I believe this is due to the fact that the 
newer g++  (>3.0 ?) versions are more strict in regard to ISO standards.

Is there any way (e.g. a flag setting in g++) which allows me to compile 
my g++-2.95 compatible code with g++-3.2 ?

I would be surprised if g++ wouldn't be backward compatible.

I just downgraded my system back to Mandrake 8.2 after spending 2 days 
trying to install g++-2.95 parallel to g++-3.2, without success.

Thank you very much for any advice you can give.

Immo Trinks




More information about the Gcc mailing list