[omniORB] an attempt at compiling omniorb4-cvs with g++ 3.0.3 on solaris 7

Chris McClimans omniorb@mcclimans.net
Thu, 21 Feb 2002 00:27:55 -0600


$ cd /home/mccliman/omniorb/src/omni-cvs/src/lib/omniORB/orbcore

$ g++ -c  -fhandle-exceptions -Wall -Wno-unused -I.. -I./.. -I../../../../include/omniORB4/internal -DUsePthread -D_REENTRANT  -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -DBSD_COMP    -I. -I. -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o static/tcpConnection.o ./tcp/tcpConnection.cc
cc1plus: warning: -fhandle-exceptions has been renamed to -fexceptions (and is now on by default)
tcp/tcpConnection.cc: In constructor `omni::tcpConnection::tcpConnection(int,
   omni::SocketCollection*)':
tcp/tcpConnection.cc:315: cannot convert `size_t*' to `int*' for argument `3'
   to `int getsockname(int, sockaddr*, int*)'
tcp/tcpConnection.cc:325: cannot convert `size_t*' to `int*' for argument `3'
   to `int getpeername(int, sockaddr*, int*)'