https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89232
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- >stdnoreturn.h> is a C header, not part of C++, and not supported in C++. The equivalent feature in C++ is an attribute: [[noreturn]] void stop_now(int i);