[omniORB] omniORB-2.8.0 pre1 scope-problems

Bjorn Wennberg bjornw@tihlde.org
13 Jul 1999 14:49:52 +0200


I've recently downloaded and compiled omniORB-2.8.0-pre1 on a RedHat-6.0 
server running egcs-1.1.2. The compilation process went smooth with no errors.

However, omniidl2 does seem to have slight problems with scoping.

omniidl2 has problems resolving correct scope in the following idl-code:
---
module COMMON
{
   exception Error { string Message; };
};

module CLIENT
{

   interface CClientBase {
      void Ping();
   };

   interface CClient : CClientBase {
      void DoSomething()
	 raises(COMMON::Error); // -- here is the problem
   };
};

omniidl2: "test.idl", line 7: error in lookup of symbol: FP_CORBA_UTIL::XDbError

If I replace the raises-definition into:
     raises(::COMMON::Error);
everything works.


bjornw>