ATT Labs

An archive of

AT&T Laboratories
Cambridge

hosted in
conjunction
with

Cambridge University Computer Laboratory

The Digital Technology Group

Home Page

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 omniorb@uk.research.att.com. We'd like to hear from you.

Contact information
Copyright © 2002 AT&T Laboratories Cambridge