1 |
Dnia 2013-12-19, o godz. 09:58:25 |
2 |
Sven Eden <sven.eden@×××.de> napisał(a): |
3 |
|
4 |
> Am Mittwoch, 18. Dezember 2013, 08:54:47 schrieb Michał Górny: |
5 |
> > This raises the following question: how do we want to do it? I see two |
6 |
> > possibilities: |
7 |
> > |
8 |
> > a) adding USE=c++11 and USE-deps to all the packages in question, |
9 |
> > |
10 |
> > b) doing the switch via synchronous version bump and matching |
11 |
> > dependencies. |
12 |
> > |
13 |
> (snip) |
14 |
> > |
15 |
> > What are your thoughts? |
16 |
> |
17 |
> I have already switched to C++11 on all my projects ages ago. It offers a lot, |
18 |
> and the incompatibilities are rare at best. |
19 |
> |
20 |
> C++11 is the current standard with the next being worked on already. |
21 |
> What is the rationale for staying with C++03 or (worse) C++98 in the first |
22 |
> place? Nothing is gained. Only the need to fix what becomes broken. |
23 |
|
24 |
I can agree with that but we need a way to get a smooth transition. |
25 |
|
26 |
> So I'd go the reverse way. Make CXXFLAGS="-std=c++11" the default, and only |
27 |
> override this for packages that do fishy stuff and break with it. |
28 |
|
29 |
How can we do that? I think the only possibility is to patch gcc |
30 |
and change the default... |
31 |
|
32 |
-- |
33 |
Best regards, |
34 |
Michał Górny |