[omniORB] Valuetype

Adriaan Joubert a.joubert@albourne.com
Fri, 23 Jun 2000 14:05:46 +0300


Hi,

    is valuetype supported yet? I was playng around with it, but omniidl
does not seem to like it. When trying to run

omniidl -bcxx test.idl

on

module Boo {

  valuetype Foo {
    public long a;
  };
};


I get
scoobydoo:/cy/adriaan/Tmp$ omniidl -bcxx test.idl
Traceback (innermost last):
  File "/usr/local/omniORB3/bin/i586_linux_2.0_glibc2.1/omniidlrun.py",
line 92,
 in ?
    omniidl.main.main()
  File "/usr/local/omniORB3/lib/python/omniidl/main.py", line 410, in
main
    bemodules[i].run(tree, backends_args[i])
  File "/usr/local/omniORB3/lib/python/omniidl_be/cxx/__init__.py", line
239, in
 run
    header.run(tree)
  File
"/usr/local/omniORB3/lib/python/omniidl_be/cxx/header/__init__.py", line

257, in run
    monolithic(stream, tree)
  File
"/usr/local/omniORB3/lib/python/omniidl_be/cxx/header/__init__.py", line

230, in monolithic
    guard = guard)
  File "/usr/local/omniORB3/lib/python/omniidl_be/cxx/util.py", line
230, in out
    apply(thing)
  File
"/usr/local/omniORB3/lib/python/omniidl_be/cxx/header/__init__.py", line

192, in forward_dec
    tree.accept(forward)
  File "/usr/local/omniORB3/lib/python/omniidl/idlast.py", line 141, in
accept
    def accept(self, visitor): visitor.visitAST(self)
  File
"/usr/local/omniORB3/lib/python/omniidl_be/cxx/header/forward.py", line
8
0, in visitAST
    n.accept(self)
  File "/usr/local/omniORB3/lib/python/omniidl/idlast.py", line 221, in
accept
    def accept(self, visitor): visitor.visitModule(self)
  File
"/usr/local/omniORB3/lib/python/omniidl_be/cxx/header/forward.py", line
8
9, in visitModule
    n.accept(self)
  File "/usr/local/omniORB3/lib/python/omniidl/idlast.py", line 892, in
accept
    def accept(self, visitor): visitor.visitValueAbs(self)
AttributeError: visitValueAbs

Cheers,

Adriaan