https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonny Grant from comment #2) > Good point! > > Any header would be a good start... but as it is a CPP file being compiled > by g++ perhaps g++ should even suggest std::abort() and <cstdlib> ? That's a matter of taste, not correctness or questionable code. There's nothing wrong with including <stdlib.h> and using ::abort.