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_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to