C++11 enabling in F22?

Marek Skalick√Ĺ mskalick at redhat.com
Tue Oct 27 12:01:51 UTC 2015


On Mon, 2015-10-26 at 14:23 +0100, Tim Niemueller wrote:
> 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.
> 

Does someone know it this could be a problem for F22?

Marek

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




More information about the devel mailing list