incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
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
         URL: http://issues.apache.org/jira/browse/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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message