Description
localedef.cpp fails to compile with HP aCC 3.64
gmake: Entering directory `/build/sebor/aCC-3.63-8d/bin'
aCC -c -I/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include -D_RWSTD_USE_CONFIG -I/build/sebor/aCC-3.63-8d/include -I/amd/devco/sebor/dev/stdlib/include -I/amd/devco/sebor/dev/stdlib/include/loc -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 /amd/devco/sebor/dev/stdlib/src/util/localedef.cpp
Error 174: "/amd/devco/sebor/dev/stdlib/include/ansi/cstdlib", line 200 #
Function redefinition; previously defined as "int abs(int)" at
["/usr/include/../include/stdlib.h", line 40].
inline int abs (int __x)
^^^
Error 445: "/amd/devco/sebor/dev/stdlib/include/ansi/cstdlib", line 200 #
Cannot recover from earlier errors.
inline int abs (int __x)
^^^^^^^^^^^^^^
gmake: *** [localedef.o] Error 2
gmake: Leaving directory `/build/sebor/aCC-3.63-8d/bin'
Attachments
Issue Links
- is related to
-
STDCXX-244 [HP aCC] no abs() in <stdlib.h> when <math.h> is #included first
- Open