Gentoo Archives: gentoo-dev

From: "Jan Kundrát" <jkt@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] How to support C++11 in libraries?
Date: Thu, 19 Dec 2013 16:51:28
Message-Id: 819092f0-45b2-4b7c-ba54-12ab4c718aff@gentoo.org
In Reply to: Re: [gentoo-dev] How to support C++11 in libraries? by "vivo75@gmail.com"
1 On Thursday, 19 December 2013 17:29:19 CEST, vivo75@×××××.com wrote:
2 > just a question, what would do -fabi-version=6 added to CXXFLAGS even
3 > w/o C++11?
4
5 I believe that -fabi-version is for "low level bits" at the level of e.g.
6 identifier mangling. It cannot affect whether a std::string is refcounted
7 or not, or whether a std::list contains a member for O(1) size() behavior
8 -- these require modifications to the actual memory layout of the class.
9
10 Cheers,
11 Jan