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 15:23:16
Message-Id: fb1aa2af-3e4d-45d7-87ec-0942286e6a0f@gentoo.org
In Reply to: Re: [gentoo-dev] How to support C++11 in libraries? by Ian Stakenvicius
1 On Thursday, 19 December 2013 16:00:13 CEST, Ian Stakenvicius wrote:
2 > A change in profiles? 14.0/* adds that to the default CXXFLAGS in
3 > base, new stage3's etc are all rolled with this. We recommend
4 > migration to 14.0 profile and have a check somewhere about
5 > "-std=c++11" missing from CXXFLAGS in case it's overridden in
6 > make.conf, so users put it in place?
7
8 Before you invest any more time in this, please understand that C++98 and
9 C++11 are source-incompatible. There is no way to expect that a package
10 builds fine when you throw -std=c++11 on it. And even if you patched them
11 all, you are breaking an unknown number of 3rd party software over which
12 you have exactly zero control.
13
14 Also note that as of gcc 4.8, the C++11 support is still labeled as
15 experimental and upstream developers announced they will introduce ABI
16 breaks in future.
17
18 With kind regards,
19 Jan

Replies

Subject Author
Re: [gentoo-dev] How to support C++11 in libraries? "Anthony G. Basile" <blueness@g.o>
[gentoo-dev] Re: How to support C++11 in libraries? Martin Vaeth <vaeth@××××××××××××××××××××××××.de>
Re: [gentoo-dev] How to support C++11 in libraries? Sven Eden <sven.eden@×××.de>