[omniORB] TIE Implementation Warning Messages

Roger Hughes roger.hughes@actfs.co.uk
Thu, 18 Jan 2001 09:12:50 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C0812E.D50A61C0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi,
Call me a bit of a novice, but I've just used the TIE implementation =
method on Windows NT for the first time and get loads of warnings (see =
below) in the IDL generated source code. I guess that it's to do with =
the same method being in both base classes. Is this normal for TIE =
implementations or have I done something wrong (again)?!?!

The IDL Command line I use is:

omniidl.exe -bcxx -K -Wbexample -Wbtp -Wbh=3D.h -Wbs=3DSK.cpp =
-Wbd=3DDynSK.cpp -Cr:\nova\corba\inc filename.idl

Also, am I right in thinking that the -WBexample arguement only =
generates example source for the inheritance implementation?

P.S. I've included the warnings below......

r:\nova\corba\inc\novautility.h(370) : warning C4250: =
'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' : inherits =
'NovaUtility::_impl_FactoryService::_ptrToInterface' via dominance
        r:\nova\corba\inc\novautility.h(191) : see declaration of =
'_ptrToInterface'
        R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to =
class template instantiation 'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' being compiled
r:\nova\corba\inc\novautility.h(370) : warning C4250: =
'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' : inherits =
'PortableServer::ServantBase::_downcast' via dominance
        d:\devstudio\myprojects\omni\include\omniorb3\poa.h(653) : see =
declaration of '_downcast'
        R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to =
class template instantiation 'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' being compiled
r:\nova\corba\inc\novautility.h(370) : warning C4250: =
'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' : inherits =
'NovaUtility::_impl_FactoryService::_mostDerivedRepoId' via dominance
        r:\nova\corba\inc\novautility.h(192) : see declaration of =
'_mostDerivedRepoId'
        R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to =
class template instantiation 'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' being compiled
r:\nova\corba\inc\novautility.h(370) : warning C4250: =
'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' : inherits =
'PortableServer::ServantBase::_do_get_interface' via dominance
        d:\devstudio\myprojects\omni\include\omniorb3\poa.h(652) : see =
declaration of '_do_get_interface'
        R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to =
class template instantiation 'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' being compiled
r:\nova\corba\inc\novautility.h(370) : warning C4250: =
'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' : inherits =
'NovaUtility::_impl_FactoryService::_dispatch' via dominance
        r:\nova\corba\inc\novautility.h(188) : see declaration of =
'_dispatch'
        R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to =
class template instantiation 'POA_NovaUtility::FactoryService_tie<class =
NovaUtility::ServicesServant>' being compiled

Roger Hughes  =20


------=_NextPart_000_0012_01C0812E.D50A61C0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi,</FONT></DIV>
<DIV><FONT size=3D2>Call me a bit of a novice, but I've just used the =
TIE=20
implementation method on Windows NT for the first time and get loads of =
warnings=20
(see below) in the IDL generated source code. I guess that it's to do =
with the=20
same method being in both base classes. Is this normal for TIE =
implementations=20
or have I done something wrong (again)?!?!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>The IDL Command line I use is:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>omniidl.exe -bcxx -K -Wbexample -Wbtp -Wbh=3D.h =
-Wbs=3DSK.cpp=20
-Wbd=3DDynSK.cpp -Cr:\nova\corba\inc filename.idl</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Also, am I right in thinking that the -WBexample =
arguement=20
only generates example source for the inheritance =
implementation?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>P.S. I've included the warnings =
below......</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>r:\nova\corba\inc\novautility.h(370) : warning =
C4250:=20
'POA_NovaUtility::FactoryService_tie&lt;class =
NovaUtility::ServicesServant&gt;'=20
: inherits 'NovaUtility::_impl_FactoryService::_ptrToInterface' via=20
dominance<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r:\nova\corba\inc\novautility.h(191) : see declaration of=20
'_ptrToInterface'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to class =
template=20
instantiation 'POA_NovaUtility::FactoryService_tie&lt;class=20
NovaUtility::ServicesServant&gt;' being=20
compiled<BR>r:\nova\corba\inc\novautility.h(370) : warning C4250:=20
'POA_NovaUtility::FactoryService_tie&lt;class =
NovaUtility::ServicesServant&gt;'=20
: inherits 'PortableServer::ServantBase::_downcast' via=20
dominance<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
d:\devstudio\myprojects\omni\include\omniorb3\poa.h(653) : see =
declaration of=20
'_downcast'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to class =
template=20
instantiation 'POA_NovaUtility::FactoryService_tie&lt;class=20
NovaUtility::ServicesServant&gt;' being=20
compiled<BR>r:\nova\corba\inc\novautility.h(370) : warning C4250:=20
'POA_NovaUtility::FactoryService_tie&lt;class =
NovaUtility::ServicesServant&gt;'=20
: inherits 'NovaUtility::_impl_FactoryService::_mostDerivedRepoId' via=20
dominance<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r:\nova\corba\inc\novautility.h(192) : see declaration of=20
'_mostDerivedRepoId'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to class =
template=20
instantiation 'POA_NovaUtility::FactoryService_tie&lt;class=20
NovaUtility::ServicesServant&gt;' being=20
compiled<BR>r:\nova\corba\inc\novautility.h(370) : warning C4250:=20
'POA_NovaUtility::FactoryService_tie&lt;class =
NovaUtility::ServicesServant&gt;'=20
: inherits 'PortableServer::ServantBase::_do_get_interface' via=20
dominance<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
d:\devstudio\myprojects\omni\include\omniorb3\poa.h(652) : see =
declaration of=20
'_do_get_interface'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to class =
template=20
instantiation 'POA_NovaUtility::FactoryService_tie&lt;class=20
NovaUtility::ServicesServant&gt;' being=20
compiled<BR>r:\nova\corba\inc\novautility.h(370) : warning C4250:=20
'POA_NovaUtility::FactoryService_tie&lt;class =
NovaUtility::ServicesServant&gt;'=20
: inherits 'NovaUtility::_impl_FactoryService::_dispatch' via=20
dominance<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r:\nova\corba\inc\novautility.h(188) : see declaration of=20
'_dispatch'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
R:\nova\corba\dev\corbakit\orbmanager.cpp(83) : see reference to class =
template=20
instantiation 'POA_NovaUtility::FactoryService_tie&lt;class=20
NovaUtility::ServicesServant&gt;' being compiled<BR></DIV></FONT>
<DIV><FONT size=3D2>Roger Hughes&nbsp;&nbsp;&nbsp;<BR></FONT><FONT=20
size=3D2></FONT></DIV></BODY></HTML>

------=_NextPart_000_0012_01C0812E.D50A61C0--