[Bug c++/89870] C++ suggest header for abort()

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Depends on|

[Bug c++/89870] C++ suggest header for abort()

2019-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870 --- Comment #3 from Jonathan Wakely --- (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 ? That's

[Bug c++/89870] C++ suggest header for abort()

2019-03-28 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870 --- Comment #2 from Jonny Grant --- 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 ? eg suggestion: test.cpp: In function 'int main()':

[Bug c++/89870] C++ suggest header for abort()

2019-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic