http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705
--- Comment #31 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2012-01-06 16:11:08 UTC --- On Fri, Jan 06, 2012 at 03:30:23PM +0000, jakub at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 > > --- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-06 > 15:30:23 UTC --- > I'd say: > c_fix_arg = "__attribute__((__noreturn__))"; > would be better. Thanks for writing a comment that has just the important > facts in it and no emotions. > Apparently, you did not read my 2nd patch. There was no emotion in the comment. Just the facts. I suppose the truth hurts sometime. +/* + * 'g++ -std=c++11' defines __cplusplus to 201103L, which suggests + * that 'g++ -std=c++11' is a compiler conforming to the C++ programming + * language defined by ISO/IEC 14882:2011. Setting __cplusplus to + * 201103L appears to be a direct violation of ISO/IEC 14882:2011 + * [as inferred from Secs. 1.4 and 16.8 in n3242.pdf (I'm not interested + * in spending CHF 352.00 for the actual standard)]. The standard + * conforming sys/cdefs.h header file on FreeBSD 10 (and above) needs be + * (un)damaged, so GCC can use 'g++ -std=c++11' to build libstdc++v3 + * during bootstrap. + */