[omniORB] Problem with enum constants

Craig Rodrigues rodrigc@mediaone.net
Wed, 13 Oct 1999 15:23:41 -0400


Hi,

I took the following code snippet from Section 3.9.2 of
the CORBA 2.3 spec:

enum Color {red, green, blue};
const Color col = red;

When I compiled with omniidl2, I got the following error:

omniidl2: "b.idl", line 3: coercion failure 0 to any
omniidl2: b.idl: found 1 error

Any ideas?
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net