omniidl2 Incorrect const parsing?

Sai-Lai Lo S.Lo@orl.co.uk
Wed, 18 Feb 1998 18:02:24 GMT


>>>>> Paul Nader writes:

> 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?


Definitely a bug, I'll look into it.

Sai-Lai