ATT Labs

AT&T Laboratories
Cambridge

Home page About Us Interactive research Software Opportunities

omnithread update

Report number 21

Reported by Dominic Chorafakis

Date 12 Jun 1998

Platforms All platforms

Version omniORB_2.5.0

Description

omniidl2 generates the wrong constant values for the following:
const octet a=20;
const octet b='A';

omniidl2 fails to recognise octet is a valid discriminant type.

typedef octet d;
union XU switch(d)
{
  case 1: long l;
  case 2: short s;
};

omnidls interprets operators '<<' and '>>' the opposite way.

const unsigned short losBitNumber1 = 0x02 << 1;
const unsigned short losBitNumber2 = 0x02 >> 1;


Patch



Action

[ omniORB main page| Technical details| Performance measurements|
Documentation| Download a free distribution]

If you need more information, contact [email protected]. We'd like to hear from you.

For comments, suggestions and further information please contact us.
Copyright © 2001 AT&T Laboratories Cambridge