[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #41 from Ed Schouten 2012-01-09 22:48:35 UTC --- (In reply to comment #40) > There are several C++11 features which clang does not support, which g++ does. > clang also defines __cplusplus == 201103L, despite not implementing large >

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #39 from Ed Schouten 2012-01-09 22:37:41 UTC --- (In reply to comment #36) > By your reasoning, FreeBSD really may as well take out code which requires > __cplusplus == 201103L , as no compiler will support all of C++11 for several >

[Bug bootstrap/51705] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2011-12-30 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #18 from Ed Schouten 2011-12-30 10:47:25 UTC --- Though there's nothing wrong with using __dead2, wouldn't it be better to use __attribute__((__noreturn__) directly?

[Bug bootstrap/51705] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2011-12-29 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #14 from Ed Schouten 2011-12-29 23:30:19 UTC --- (In reply to comment #13) > Feel free to keep > arguing otherwise, but wherever the problem lies, it's not that libstdc++ uses > C++11 features Steve and I merely have our doubts about

[Bug bootstrap/51705] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2011-12-29 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #11 from Ed Schouten 2011-12-29 22:40:26 UTC --- But this has nothing to do with FreeBSD specifically. It will apply to basically any operating system in the future. Say, GCC 4.8 (late 2012?) will support [[noreturn]] properly and so

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

2011-12-29 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #6 from Ed Schouten 2011-12-29 21:59:38 UTC --- (In reply to comment #5) > So change component to 'bootstrap' and get a FreeBSD maintainer to update > fixincludes and/or tell the FreeBSD libc team to test with esoteric > third-party >

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

2011-12-29 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #2 from Ed Schouten 2011-12-29 19:42:12 UTC --- Well, there is the difference. g++ may support C++11 constructs and libstdc++ should be able to use them, but it's wrong to announce __cplusplus == 201103L to the operating system's heade

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

2011-12-29 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Bug #: 51705 Summary: Build infrastructure should not use -std=c++0x until g++ properly supports it Classification: Unclassified Product: gcc Version: unknown Status: