[Ace-users] [tao-users] tao_idl and enum

khan_069 d.nayeem.khan at gmail.com
Mon Feb 4 23:15:02 CST 2008


I am using TAO1.5 and when i compile a IDL file containing following

enum test{false=0,true=1};

it throws error saying "Illegal syntax following enum body statement"

but i remove explicit assignment in enum like

enum test{false,true};

this works properly

Any idea why the first syntax is not allowed?

nayeem khan 

More information about the Ace-users mailing list