Re: C++11 enabling in F22?

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

 



https://gcc.gnu.org/wiki/Cxx11AbiCompatibility

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

  Tim

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
> 
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux