This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51705] Build infrastructure should not use -std=c++0x until g++ properly supports it


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-29 19:34:31 UTC ---
(In reply to comment #0)
> Essentially GCC is free to announce __cplusplus == 201103L for its experimental
> C++11 support, but the C++11 support should not be used during its own
> compilation step if it's not finished yet.

How should files needed for that C++11 support be compiled then?

It needs to be used to compile e.g. src/thread.cc which defines the functions
declared in the C++11 header <thread>

Until attributes are supported I think this should be dealt with by removing
[[noreturn]] using fixincludes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]