[omniORB] HP-UX 11 build problem
Roloff, Craig A
craig.a.roloff at boeing.com
Fri Jun 6 14:03:28 BST 2003
We tried building omniORB 4.0.1 on HP-UX 11 using version A.03.35
of aC++ and ran across the following problems:
/opt/aCC/bin/aCC -c -O -mt -I.. -I../../../../../src/lib/omniORB/orbcore/.. \
-I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal \
-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY \
-DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore \
-I../../../../include -I../../../../../include -D__OSVERSION__=11 -D__hpux__ -D__hppa__ \
-o static/anonObject.o ../../../../../src/lib/omniORB/orbcore/anonObject.cc
Error 742: "../../../../../include/omniORB4/stringtypes.h", line 397 # Source type char *& and target type char * in a const_cast can only
differ in their qualifiers
pd_data = OMNI_CONST_CAST(char*, s.pd_data);
^^^^^^^^^^^^^^^
Error (future) 641: "../../../../../include/omniORB4/seqTemplatedefns.h", line 92 # Undeclared variable 'pd_len'. A variable with the same
name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++
Standard). You can make it visible by writing 'this->pd_len'.
::operator>>=(_CORBA_ULong(pd_len), s);
^^^^^^
Error (future) 641: "../../../../../include/omniORB4/seqTemplatedefns.h", line 93 # Undeclared variable 'pd_len'. A variable with the same
name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++
Standard). You can make it visible by writing 'this->pd_len'.
for( int i = 0; i < (int)pd_len; i++ )
^^^^^^
Error (future) 641: "../../../../../include/omniORB4/seqTemplatedefns.h", line 94 # Undeclared variable 'pd_buf'. A variable with the same
name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++
Standard). You can make it visible by writing 'this->pd_buf'.
pd_buf[i] >>= s;
^^^^^^
... plus many more 641 errors.
What do you recommend?
Thanks,
Craig Roloff
More information about the omniORB-list
mailing list