C++11 enabling in F22?

Tim Niemueller tim at niemueller.de
Mon Oct 26 13:23:34 UTC 2015


I guess this is what is causing problems if mongo-cxx-driver and an
application using it do not use the same language version.


On 26.10.2015 14:09, Tom Hughes wrote:
> On 26/10/15 13:01, Tim Niemueller wrote:
>> On 26.10.2015 13:59, Tom Hughes wrote:
>>> On 26/10/15 12:50, Tim Niemueller wrote:
>>>> - the driver works only with software which is built for the same ABI,
>>>> it is one of the cases where things break immediately otherwise
>>> You need to be very clear what you mean here. Do you mean built with
>>> -std=c++11 or built with -D_GLIBCXX_USE_CXX11_ABI=1?
>> I mean the former, -std=c++11.
> Right, so you should stop talking about ABI then, because setting that
> doesn't change the ABI. That's kind of the whole point.
> All it does is enable C++11 language features.
> Now that might cause the ABI of the package you are building to change
> if it has ifdefs to add extra functions in that case or something but
> it's not what gcc refers to as the "C++11 ABI".
> Tom

More information about the devel mailing list