[omniORB] Possible bug in omniidl regarding _PD_repoId?

Tarjei Knapstad tarjei.knapstad at gmail.com
Mon Oct 29 11:23:24 GMT 2012


On 29 October 2012 11:21, Duncan Grisby <duncan at grisby.org> wrote:
> On Mon, 2012-10-29 at 10:32 +0100, Tarjei Knapstad wrote:
>
> [...]
>> moduleInlineSK.cc:const char* MyModule::MyInterface::_PD_repoId =
>> "IDL:MyModule/MyInterface:1.0";
>>
>> The latter is what IIOP.Net asks for when trying to obtain a object
>> reference. Is this a bug in how omniidl treats include directives?
>
> No, it's a bug in IIOP.Net. omniidl is correct in not including the
> "MyModule" within the repository id. See section 10.6.5.2 of the CORBA
> 2.6 specification:
>
> [...]
>
> As a work-around for the bug in IIOP.net, you can use #pragma prefix
> "MyModule" at the start of myInterface.idl, which will mean that omniidl
> uses the repository id that IIOP.net incorrectly thinks it should have.
>

Thanks for the workaround and for clearing this up for me Duncan, much
appreciated!

Regards,
--
Tarjei



More information about the omniORB-list mailing list