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

andreast at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 30 11:32:00 GMT 2011


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

--- Comment #19 from Andreas Tobler <andreast at gcc dot gnu.org> 2011-12-30 10:59:03 UTC ---
Works too:

+    sed       = "s/\\[\\[noreturn\\]\\]/__attribute__((__noreturn__))/";
+    test_text = "#define _Noreturn     __attribute__((__noreturn__))";

Looks less cryptic, iow, I do not need to look for __dead2 to understand what
is meant.



More information about the Gcc-bugs mailing list