svn commit: r228330 - in head: include sys/sys
David Chisnall
theraven at FreeBSD.org
Mon Dec 12 12:18:13 UTC 2011
On 11 Dec 2011, at 21:12, Andreas Tobler wrote:
> As far as I understand, GCC does not support this attribute [[noreturn]] yet. But it defines both, __cplusplus and __cplusplus=201103L. On gcc-4.7 __cplusplus=201103L is the default when we build libstdc++.
Advertising C++11 compatibility and then not supporting fairly simple C++11 features seems like a pretty major GCC bug.
> So I think we have to extend the check as below or we can reorder the defines that GNUC is before the __cplusplus && __cplusplus>= 201103L.
I'd rather prefer the standard version to the non-standard version, but maybe we can add an extra check to see if your compiler incompetent.
David
More information about the svn-src-head
mailing list