[omniORB] Announce: omniORB 4.1.0 beta 1, omniORBpy 3.0 beta 1

Duncan Grisby duncan at grisby.org
Tue Jan 24 11:48:50 GMT 2006


On Tuesday 24 January, Renzo Tomaselli wrote:

> we tried without success to recompile through omniidl 4.1 a number
> of idl files which worked fine since many years, up to 4.07.
> All such files are produced automatically by Rational Rose.
> We get the systematic error:
>
>  omniidl: Fatal error in C++ backend
>  omniidl: An AttributeError exception was caught

[...]
> If we replace DeviceManager::TopObject by Common::TopObject then it
> compiles fine. It looks a typedef issue.

Yes, it is a typedef issue. The fix is simple. I've fixed it in CVS, and
attached a small patch for it too.

You sent your message as pure html with no text equivalent, which upsets
the mailing list archive. Please send preferably plain text or failing
that, multi-part plain text and html when you send to the omniORB
mailing list.

Cheers,

Duncan.

-------------- next part --------------
Index: src/lib/omniORB/omniidl_be/cxx/iface.py
===================================================================
RCS file: /cvsroot/omniorb/omni/src/lib/omniORB/omniidl_be/cxx/Attic/iface.py,v
retrieving revision 1.1.6.12
diff -u -r1.1.6.12 iface.py
--- src/lib/omniORB/omniidl_be/cxx/iface.py	18 Nov 2005 18:23:06 -0000	1.1.6.12
+++ src/lib/omniORB/omniidl_be/cxx/iface.py	24 Jan 2006 11:44:27 -0000
@@ -176,16 +176,16 @@
     return self._callables
 
   def inherits(self):
-    return map(lambda x:Interface(x), self._node.inherits())
+    return map(lambda x:Interface(x), self._node.fullDecl().inherits())
 
   def allInherits(self):
     return map(lambda x:Interface(x), ast.allInherits(self._node))
 
   def local(self):
-    return self._node.local()
+    return self._node.fullDecl().local()
 
   def abstract(self):
-    return self._node.abstract()
+    return self._node.fullDecl().abstract()
 
   def name(self):
     return self._node_name
-------------- next part --------------

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


More information about the omniORB-list mailing list