[orbitcpp-list] Trouble compiling
Status: Beta
Brought to you by:
philipd
From: Sune <su...@mo...> - 2001-08-27 22:53:08
|
Hi all. I ahve just compiled ORBit 0.5.8, and started compiling orbit-cpp. However, it barfs with a lot of errors, starting with c++ -DHAVE_CONFIG_H -I. -I. -I../../../orb -I../../.. -I../../.. -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -g -O0 -Wall -W -c everything-cpp-skels.cc In file included from /usr/local/include/orb/orbit.h:63, from ../../../orb/orbitcpp_types.hh:30, from ../../../orb/orbitcpp.hh:36, from everything-cpp-common.hh:11, from everything-cpp-stubs.hh:11, from everything-cpp-skels.hh:8, from everything-cpp-skels.cc:6: /usr/local/include/orb/env.h:51: warning: non-static const member `CORBA_TypeCode_struct* const <anonymous struct>::tc' in class without a constructor /usr/local/include/orb/env.h:56: warning: non-static const member `CORBA_TypeCode_struct* const <anonymous struct>::tc' in class without a constructor everything-cpp-skels.cc: In static member function `static _orbitcpp::c::test_VariableLengthStruct* POA_test::StructServer::_skel_opVariable(void*, const _orbitcpp::c::test_VariableLengthStruct*, _orbitcpp::c::test_VariableLengthStruct*, _orbitcpp::c::test_VariableLengthStruct**, CORBA_Environment*)': everything-cpp-skels.cc:363: invalid reinterpret_cast from type `const _orbitcpp::c::test_VariableLengthStruct' to type `const test::VariableLengthStruct' everything-cpp-skels.cc: In static member function `static _orbitcpp::c::test_CompoundStruct* POA_test::StructServer::_skel_opCompound(void*, const _orbitcpp::c::test_CompoundStruct*, _orbitcpp::c::test_CompoundStruct*, _orbitcpp::c::test_CompoundStruct**, CORBA_Environment*)': All the other errors are similar to this. glibc is 2.2.3 and compiler is gcc 3.0.1. Best regards, Sune M -- I have seen no evidence whatsoever that Microsoft's millions of dollars have enabled them to come up with a better product than MIT's few grad students. - Paul D. Smith, on Windows vs. X11 |