[omniORB] enums

Dominic Chorafakis XE41 ext. 9049 chorafad@access.bel.alcatel.be
Thu, 30 Apr 1998 10:03:56 +0200


Hi,

I would like to define an enum in IDL and have the

initial value explicitly set:

enum X
{
   x1=10,
  x2,
  x3
};

The IDL compiler does not like this, and I don't
see
anything about this in the IDL specification.

Am I using the wrong syntax or is this not allowed

in IDL ?

Thanks in advance,

Dominic Chorafakis