[omniORB] Does enums work at all with VC6

Andrei Romanov aromanov@northplains.com
Mon, 16 Oct 2000 10:18:27 -0400


In VC6, ERROR  is defined in WinGDI.h
Use other name for constant to avoid conflict of names.

----- Original Message ----- 
From: "Vincent Trussart" <vincent@linuxfreak.com>
To: "Omniorb-List" <>
Sent: Monday, October 16, 2000 9:03 AM
Subject: [omniORB] Does enums work at all with VC6


> 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 };
> 
>         interface Logger {
>                 void log(in log_level level, in string message);
>         };
> };
> 
> 
> 
> Any hints would be appreciated!
> 
> Thanks,
> 
> Vincent
> 
> 
>