omniidl2 Incorrect const parsing?

Paul Nader naderp@d22mail.alcatel.com.au
Wed, 18 Feb 1998 11:18:42 +1100 (EST)


Hi,

I get an error when trying to compile a constant as folows :

typedef string MyType;
const MyType constString = "Gday";

omniidl2 complains : coercion failure Gday to any. This happens both with
2.4.0 and 2.5.0 with the -a flag.



It obviously works if I compile it as 

const string constString = "Gday";


Is this a bug or is it expected behaviour?

Regards, Paul.