[omniORB] RH 7.0 beta, gcc pinstripe warning

Gilles J. Seguin segg@infonet.ca
Fri, 01 Sep 2000 00:51:24 -0400


Hi,


/usr/bin/g++ -c -O2  -Wall -Wno-unused  -D_REENTRANT -I. -I./..
-I./../.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I. 
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o
taskqueue.o taskqueue.cc
/usr/bin/g++ -c -O2  -Wall -Wno-unused  -D_REENTRANT -I. -I./..
-I./../.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I. 
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o
omniServant.o omniServant.cc
In file included from localIdentity.h:49,
                 from omniServant.cc:58:
../omniIdentity.h:98: warning: `class omniIdentity' has virtual 
functions but non-virtual destructor
In file included from omniServant.cc:58:
localIdentity.h:243: warning: `class omniLocalIdentity' has virtual 
functions but non-virtual destructor

The Message is repeated for files that include localIdentity.h
destructor are inline, we need virtual.