[omniORB] Need your help

Duncan Grisby duncan at grisby.org
Mon Oct 11 23:35:01 BST 2010


On Mon, 2010-10-11 at 14:12 +0400, Kovex wrote:

> c:\Projects\VS7.NET\TrapSender\idl>omniIDL -bcxx -Wbh=.h -Wbs=.cpp 
> Subscription.idl

[...]
>    File "C:\omniORB41\vc8\lib\python\omniidl_be\cxx\id.py" , line 185, 
> in needFlatName return len(relName) > 1
> TypeError: len() of unsized object

It's a bug in the omniidl C++ backend. It's triggered by the fact that
you have an operation with the same name as an enclosing module (albeit
differing in case). That causes slightly different behaviour to most
cases, and there was a bug in that code path. The attached patch fixes
it. I'll check the fix in to svn.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --

-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniidl.patch
Type: text/x-patch
Size: 708 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20101011/0c08b477/omniidl.bin


More information about the omniORB-list mailing list