[omniORB] omniidl bug?

Bruce Visscher visschb@rjrt.com
Thu, 20 Jul 2000 10:47:39 -0400


Hello,

The following is taken from the latest (as far as I can tell)
CosLifeCycle IDL definition from the www.omg.org site:

$ cat CosLifeCycle.idl
//...
module CosLifeCycle {
  //...
  typedef Object Factory;
  //...
};
$ omniidl -d CosLifeCycle.idl
coslifecycle.idl:4: Identifier `Factory' clashes with keyword `factory'
omniidl: 1 error.

I can work-around this by adding a leading underscore to the name, but
now I'm curious who is right, omniidl or the CosLifeCycle maintainers?

I'm thinking that omniidl should allow identifiers to differ only by
case from keywords, but I could be wrong.  I realize that identifiers
must not differ only by case from each other.

Thanks,

Bruce
-- 

Bruce Visscher                                        visschb@rjrt.com