Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: global USE c++11
Date: Mon, 02 Jan 2017 23:16:48
Message-Id: edcc5923-b84f-fb75-c186-52719c660363@gentoo.org
In Reply to: [gentoo-dev] RFC: global USE c++11 by "Justin "
1 On 1/2/17 4:34 PM, Justin <jlec> wrote:
2 > Hi all
3 >
4 > How about making USE="c++11" a global USE?
5 >
6 > Description: Build using the C++11 standard.
7 >
8 > Current situation:
9 > sci-libs/dealii: Compile the library with -std=c++11
10 > sci-physics/herwig++: Build Herwig++ using the C++11 standard.
11 > sci-astronomy/casacore: Build casacore using the C++11 standard
12 > sci-libs/ceres-solver: Build ceres-solver using the C++11 standard
13 > sci-physics/herwig++: Build Herwig++ using the C++11 standard.
14 > sci-physics/root: Build ROOT using the C++11 standard
15 > sci-physics/thepeg: Build ThePEG using the C++11 standard.
16 > sci-physics/yoda: Build using the C++11 standard
17 >
18 >
19 > Seems to be very consistent in usage.
20 >
21 > Best,
22 > Justin
23 >
24
25 You really shouldn't start mixing different c++ abis, that's just asking
26 for trouble. Since I'm not sure why the flag is there in those pkgs, I
27 feel uneasy about making it a global flag. See
28
29 https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/
30
31 --
32 Anthony G. Basile, Ph.D.
33 Gentoo Linux Developer [Hardened]
34 E-Mail : blueness@g.o
35 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
36 GnuPG ID : F52D4BBA

Replies

Subject Author
Re: [gentoo-dev] RFC: global USE c++11 "Vadim A. Misbakh-Soloviov" <gentoo@×××.name>