help-gplusplus
[Top][All Lists]
Advanced

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

Re: simple program does not compile with g++-4.3 but with g++-4.2


From: Emanoil Kotsev
Subject: Re: simple program does not compile with g++-4.3 but with g++-4.2
Date: Fri, 21 Aug 2009 20:06:55 +0200
User-agent: KNode/0.10.9

Pedro LamarĂ£o wrote:

> On 21 ago, 13:00, Emanoil Kotsev <delop...@yahoo.com> wrote:
> 
>> I don't like somebody to decide on behalf of me if I should port my code
>> or not. This is called integrity and compatibility and the present
>> situation is absolutely not reliable.
> 
> You are certainly free to write non portable code -- which may not
> compile with newer versions of your compiler.
> But that is exactly your problem here, isn't it?
> 
> Your example program is not ISO C++, it's ancient C++.
> To compile ancient C++ you will have to stick with ancient compilers.
> If you want to use current and future compilers, you must write ISO C+
> +.
> 
> --
>  P.

all this is pretty clear, so the change has been done from 4.2 to 4.3

>From your statement above I can conclude that 4.2 is ancient compiler and
4.3 is not ... which is funny.

I even remember to have read something about the .h files, when I was
installing 4.3, but not pretty sure. I think it was over two years ago.
so is g++-4.3 ISO C++ ? I'm just curious, because I would bet no.

And I still don't understand what's the problem with the old code ... if it
has been working in 4.2, why not make it work in 4.3 ... or somebody got
tired of making it work ... or it's even more complicated. In the latter
case I don't want to know - yes/no is fine.

thanks in advance - the ISO C++ was good one. So I need a book about iso c++
in 21 days :-D

regards







reply via email to

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