autoconf
[Top][All Lists]
Advanced

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

Re: Selecting a C++ standard


From: Florian Weimer
Subject: Re: Selecting a C++ standard
Date: Sat, 03 Nov 2012 19:08:13 +0100

* Andrew W. Nosenko:

>> I've since checked, and it was was with 4.7.1.
>>
>> Linking C++98 and C++11 code together is still officially unsupported,
>> even if it is supposed to work if you just use libstdc++.  So I think
>> it's wrong to automatically default to C++11 when available.
>
> Why?

Because it's not known to work for all C++ libraries out there.

More practically speaking, there is quite a body of code which is
valid C++98 or C++03, but fails to compile under C++11.  GCC's
implementation of user-defined literals is particularly problematic in
this regard.



reply via email to

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