Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <basile@××××××××××××××.edu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: News item regarding c++98 vs c++11
Date: Fri, 24 Oct 2014 17:27:52
Message-Id: 544A8C61.3070500@opensource.dyc.edu
In Reply to: Re: [gentoo-dev] Re: RFC: News item regarding c++98 vs c++11 by "Paweł Hajdan
1 On 10/24/14 11:31, "Paweł Hajdan, Jr." wrote:
2 > On 10/24/14 4:31 PM, Anthony G. Basile wrote:
3 >> I've update the c++ news item for your consideration. I incorporated
4 >> suggestions, in particular a note about incompatibility between c++11
5 >> compiled with different version of gcc differing in minor number (eg 4.7
6 >> and 4.8).
7 >
8 > Thanks, I think this is an improvement.
9 >
10 > I'd still prefer an explicit mention that having gcc-4.7 and 4.8
11 > installed simultaneously leads to known breakages, especially if 4.7 is
12 > the active gcc version. The text of the news item implies this, but it's
13 > just not obvious.
14 >
15 > Also consider explicitly mentioning
16 > <https://bugs.gentoo.org/show_bug.cgi?id=513386>. Obviously this
17 > wouldn't be a complete list of issues, but from the CC list it's a
18 > pretty common bug.
19 >
20
21 I agree, this bug is an example of the issues we'll have to face moving
22 forward with 4.8/4.9 and c++. I can reference it.
23
24 > If in doubt, consider this question: what would be bad about including
25 > the info I suggested above?
26
27 You don't need to convince me. Its a good example. There's no
28 particular reason I didn't mention it.
29
30 >
31 > Paweł
32 >
33
34 So I don't have to keep email the entire item to the list, how about
35 just adding it as follows:
36
37 "Nor is c++11 code compiled with gcc-4.7 ABI-compatible with c++11
38 compiled with 4.8, and vice versa. An example can be see in ref. [2]"
39
40 Ref.
41 [2] https://bugs.gentoo.org/show_bug.cgi?id=513386
42
43
44 --
45 Anthony G. Basile, Ph. D.
46 Chair of Information Technology
47 D'Youville College
48 Buffalo, NY 14201
49 (716) 829-8197

Replies