Gentoo Archives: gentoo-dev

From: "Justin <jlec>" <jlec@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: global USE c++11
Date: Tue, 03 Jan 2017 09:08:38
Message-Id: 1668ed0b-0908-c876-ba64-e4fa395f4f17@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: global USE c++11 by Kristian Fiskerstrand
1 On 03/01/2017 08:51, Kristian Fiskerstrand wrote:
2 > On 01/02/2017 10:34 PM, Justin <jlec> wrote:
3 >>
4 >> Seems to be very consistent in usage.
5 >
6 > But I'm not convinced it is a correct approach to have use flag changing
7 > this. First thing that springs to mind is if introducing something like
8 > that it should be done consistently across Gentoo, so a GLEP. But
9 > presumably a lot of packages are already built using C++11 without a use
10 > flag given Qt5.7 requiring it etc.
11 >
12 > If using C++11 enables different features the feature should be the use
13 > flag rather than C++11. Couldn't this just be determined using Autotools
14 > etc? What is the gain of the use flag? Immediately it sounds like it
15 > adds complexity without much gain.
16 >
17
18 I tried to find some example usages from upstream. Two things I found
19
20 * Most upstreams dropped the flag in recent versions
21 * If present, it is used to append -std=c++11
22
23 Probably we should keep it local and wait until it is gone everywhere
24 upstream.
25
26 Justin

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: global USE c++11 "Anthony G. Basile" <blueness@g.o>