https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89870

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
         Depends on|                            |101052
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |12.0

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since r12-1435-g93bfadf3a1db (PR101052):


<source>: In function 'int main()':
<source>:4:5: error: 'abort' was not declared in this scope
    4 |     abort();
      |     ^~~~~
<source>:1:1: note: 'abort' is defined in header '<cstdlib>'; did you forget to
'#include <cstdlib>'?
  +++ |+#include <cstdlib>
    1 | 


So fixed.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052
[Bug 101052] Suggest stdlib.h when exit(1) is called

Reply via email to