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.

Reply via email to