[omniORB] Does enums work at all with VC6

armin.gerritsen@philips.com armin.gerritsen@philips.com
Mon, 16 Oct 2000 16:03:28 +0200


>The code generated by "omniidl -bcxx" for this ultra simple IDL
>won't compile with VC6... should it?
>
>
>module util {
>
>        enum log_level { DEBUG, INFO, ERROR };

The word ERROR for instance is used in some VC++ libraries and will mos=
t
likely conflict with those uses.
I would change those in your IDL to something else.

Regards,

Armin
--
Philips Semiconductors B.V.
Systems Laboratory Eindhoven (PS-SLE)
Building BE, Room 333,
Hurksestraat 19, P.O.Box 218,
5600MD Eindhoven, The Netherlands
Phone: +31-40-27 23960
Fax  : +31-40-27 22764
E-mail: Armin.Gerritsen@philips.com

Dragsters, you can train a Monkey to drive straight.
Take a turn sometime and see if you can handle it.


=