stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-244) [HP aCC] no abs() in <stdlib.h> when <math.h> is #included first
Date Thu, 29 Jun 2006 23:19:31 GMT
[HP aCC] no abs() in <stdlib.h> when <math.h> is #included first

         Key: STDCXX-244
     Project: C++ Standard Library
        Type: Bug

  Components: External  
 Environment: HP aCC all versions going as far back as 3.00 on HP-UX as old as 11.00
    Reporter: Martin Sebor

$ cat t.cpp && aCC -AA +nostl -I/usr/include t.cpp
#include <math.h>
#include <stdlib.h>

int main ()
   return abs (0);
Error 328: "t.cpp", line 6 # Function 'abs' has not been defined yet; cannot call.
       return abs (0);

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message