Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New C++11 ABI
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2931
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Mon Nov 24, 2014 8:19 pm    Post subject: New C++11 ABI Reply with quote

Hi

ich habe gestern (seit Wochen) ein eix-sync gemacht und dann ein world update. Bei den eselect-news gab es

Code:

2014-10-26-gcc_4_7_introduced_new_c++11_abi
  Title                     GCC 4.7 Introduced the New C++11 ABI
  Author                    Anthony G. Basile <blueness@gentoo.org>
  Posted                    2014-10-26
  Revision                  1

GCC 4.7 introduced the new experimental 2011 ISO C++ standard [1], along with
its GNU variant.  This new standard is not the default in gcc-4.7, 4.8 or 4.9,
the default is still gnu++98, but it can be enabled by passing -std=c++11 or
-std=gnu++11 to CXXFLAGS.

...


Im News steht This is a precautionary news item and the typical user need not do anything. also habe ich das nicht weiter betrachtet.

Mein world update wollte aber webkit neu installieren und da bekam ich genau das Problem, was auch in https://bugs.gentoo.org/show_bug.cgi?id=513386 wurde.

Nun, gcc-config sagt

Code:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
 [2] x86_64-pc-linux-gnu-4.8.3


also habe ich das neue gcc noch nicht verwendet. Auch ein emerge @preserved-rebuild will bei mir webkit installieren, also füher oder später werde ich webkit neu installieren müssen.

Meine Frage: soll ich auf x86_64-pc-linux-gnu-4.8.3 umsteigen und damit versuchen, webkit zu installieren, und wenn ja, muss ich nicht denn alle libraries neu kompilieren, wenn C++11-abi nicht abwärtskompatibel ist? Was sollte man am besten machen?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Mon Nov 24, 2014 10:07 pm    Post subject: Reply with quote

Quote:
This new standard is not the default in gcc-4.7, 4.8 or 4.9,
the default is still gnu++98, but it can be enabled by passing -std=c++11


Wenn du also die erwähnten flags nicht setzt kannst du ohne probleme switchen.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4554
Location: Germany

PostPosted: Mon Nov 24, 2014 11:40 pm    Post subject: Reply with quote

Zu der News siehe auch den Hinweis im https://forums.gentoo.org/viewtopic-p-7641824.html#7641824
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum