Operating System - HP-UX
1752591 Members
3598 Online
108788 Solutions
New Discussion

NT to HP C++ port compiler errors

 
Steve Colbert
Occasional Contributor

NT to HP C++ port compiler errors

Hello,

I am working on a port of NT code to HPUX 11.0. I am using the aCC compiler v03.27. When compiling I get the following messages:

aCC -c +z +p -AA +DAportable +DD32 -DHPUX
-D_REENTRANT -D_THREAD_SAFE
-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
-D_RWSTD_MULTI_THREAD -D_RWSTD_TEMPLATE
-g -I. -I../ErrorSystem -I../Templates
-I../PerfLib -I/opt/odbc/include
-oDebug/BitMap.o BitMap.cpp

Warning 890: "/opt/aCC/include_std/iostream_compat/iostream.h", line 4 # #warnin
g is being replaced by followed by "using namespace std;
"
#warning is being replaced by followed by "using nam
espace std;"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
Error 172: "/opt/aCC/include_std/limits", line 502 # Undeclared variable 'ANSICH
AR_MIN'.
_RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR_CONVERTIBLE, CHAR)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 172: "/opt/aCC/include_std/limits", line 502 # Undeclared variable 'ANSICH
AR_MAX'.
_RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR_CONVERTIBLE, CHAR)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 172: "/opt/aCC/include_std/limits", line 502 # Undeclared variable 'ANSICH
AR_MAX'.
_RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR_CONVERTIBLE, CHAR)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 172: "/opt/aCC/include_std/limits", line 502 # Undeclared variable 'ANSICH
AR_MIN'.
_RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR_CONVERTIBLE, CHAR)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 172: "/opt/aCC/include_std/limits", line 502 # Undeclared variable 'ANSICH
AR_MAX'.
_RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR_CONVERTIBLE, CHAR)
^^^^^^^^^^^^^^^^^^^^^^^^


Could someone clarify what those errors regarding RogueWave mean? Do I need another compiler switch to take care of these errors?

Any help would be appreciated.
1 REPLY 1
Vincenzo Restuccia
Honored Contributor

Re: NT to HP C++ port compiler errors