Gentoo Archives: gentoo-dev

From: Martin Vaeth <martin@×××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: RFC: News item regarding c++98 vs c++11
Date: Mon, 20 Oct 2014 13:47:50
Message-Id: m233p2$ppg$1@ger.gmane.org
In Reply to: Re: [gentoo-dev] RFC: News item regarding c++98 vs c++11 by "Anthony G. Basile"
1 Anthony G. Basile <blueness@g.o> wrote:
2 >> Since gcc-4.7 there is a -std=c++11 option, do not use it {+yet+}
3 >> since it breaks the ABI, resulting in a non-functional system.
4 >
5 > Yes. Eventually we'll have to clear the road for this.
6
7 Isn't Diego just starting a gcc-4.9 tinderbox run?
8
9 It might be worth to try with -std=gnu++11 immediately:
10 Most API incompatibilities which I experienced in my projects
11 were either name clashes (with symbols not existing yet in c++98)
12 or other trivial things (like some "char *" returns intead of
13 "const char *" returns etc.); cleanly written code is likely
14 to be upward compatible without any issues.

Replies

Subject Author
Re: [gentoo-dev] Re: RFC: News item regarding c++98 vs c++11 Rich Freeman <rich0@g.o>