Re: Selecting a C++ standard

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

 



* 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.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux