http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53429

--- Comment #3 from Jeffrey Yasskin <jyasskin at gcc dot gnu.org> 2012-05-21 
15:30:45 UTC ---
Richard, I'm not asking that it be possible to link together code compiled in
C++98 and C++11 mode. I'm asking that gcc be able to build in C++11 mode at
all. If libstdc++.so exposed the c++98 version of complex::real(), then all
C++11 programs that used complex would be potentially broken.

Another way to fix this would, of course, be to either expose a configuration
option to build libstdc++.so in C++11 mode or to install two different .so
files in parallel, but doing that seems unnecessarily hostile to users when it
would be pretty easy to guarantee that the one .so works for both versions of
the language.

Reply via email to