[omniORB] omniORB_280 and Sun C++ 5.0

Dr. Uwe C. Hinze uhinze@ford.com
Tue, 04 Apr 2000 11:20:13 +0200


I cannot compile the following file in
    omniORB_280src/lib/omniORB2/orbcore
giopServer.cc,  exception.cc, policy.cc, scavenger.cc, objectRef.cc

using Sun C++ 5.0 with all new Compiler patches installed using sun4_sosV_5.6.mk
I get error messages like

CC -c -O2 -g   -DUsePthread -D_REENTRANT -mt -I. -I./.. -I./../.. -DUSE_omniORB_logStream -D_OMNIORB2_LIBRARY -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.  -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o giopServer.o
giopServer.cc
"giopServer.cc", line 980: Error: omniORB::MaxMessageSize(unsigned), returning unsigned, was previously declared returning void.
1 Error(s) detected.
or:
"objectRef.cc", line 827: Error: CORBA::UnMarshalObjRef(const char*, MemBufferedStream&) already had a body defined.
"objectRef.cc", line 914: Error: CORBA::MarshalObjRef(CORBA::Object*, const char*, unsigned, MemBufferedStream&) already had a body
defined.

what can I do, to get omniORB_280 compiled with Sun C++ 5.0
    best regards
        Uwe

[demime 0.97b removed an attachment of type text/x-vcard which had a name of uhinze.vcf]