[Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10
nightstrike at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 30 16:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883
nightstrike <nightstrike at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jon_y at users dot sourceforge.net
| |, nightstrike at gmail dot com
--- Comment #41 from nightstrike <nightstrike at gmail dot com> ---
This fails on mingw targets as well, because the mingw stdlib.h has for
instance:
void __cdecl __declspec(noreturn) abort(void);
and setjmp.h has for instance:
__declspec(noreturn) __attribute__ ((__nothrow__)) void __cdecl
ms_longjmp(jmp_buf _Buf,int _Value)/* throw(...)*/;
__declspec(noreturn) __attribute__ ((__nothrow__)) void __cdecl
longjmp(jmp_buf _Buf,int _Value);
There are other instances of this kind of thing, but you get the idea.
It seems to me that the test itself is a bit overzealous. If the intent is to
ensure just that libstdc++ sources don't use certain words, well that's not
entirely what is happening.
More information about the Gcc-bugs
mailing list