help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: difference between gcc 2.9x and 3.x


From: James Kanze
Subject: Re: difference between gcc 2.9x and 3.x
Date: Sat, 19 Mar 2005 17:11:25 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Christian Christmann wrote:

> I want to convert a project which can be compiled with g++ 2.9
> to g++ 3.x.

> When I run the code against g++ 3.2 I get lots of errors.

> What changed from g++ 2.9 to 3.x?

The language that it compiles.

> Where can I get some information about that topic?

Check out any of the C++ news groups.  ISO made a number of
incompatible changes in the specification of the language,
compared to what was current practice before.  Most vendors have
followed a policy of gradual upgrade with options to support
older constructs, but g++ apparently expects you to go cold
turkey.

Most of the changes should result in a compiler error, but there
are a few cases where the results can be that the code still
compiles, but with subtle changes in the semantics.  So I hope
you have good regression tests.

--
James Kanze                                      home: www.gabi-soft.fr
Conseils en informatique orientée objet/
                       Beratung in objektorientierter Datenverarbeitung
9 pl. Pierre Sémard, 78210 St.-Cyr-l'École, France +33 (0)1 30 23 00 34


reply via email to

[Prev in Thread] Current Thread [Next in Thread]