[omniORB] omniIDL bug

Dominic Chorafakis XE41 ext. 9049 chorafad@access.bel.alcatel.be
Thu, 23 Apr 1998 16:56:33 +0200


Hello,

There seems to be a bug in omniIDL which I am having some problems
locating.  It seems that the operators "<<" and ">>" are interpreted the

wrong way, when I do:

  const unsigned short losBitNumber = 0x02 << 1;
the skeleton code contains:
  const CORBA::UShort losBitNumber = 1;

and when I do
  const unsigned short losBitNumber = 0x02 >> 1;
the generated code contains:
  const CORBA::UShort losBitNumber = 4;

Thanks in advance,

Dominic Chorafakis.