[Ace-users] [tao-users] getting "coercion failure 1024 | 4096 to unsigned short" error

khan_069 d.nayeem.khan at gmail.com
Wed Jan 16 02:19:41 CST 2008


Hi

I am porting our product to TAO1.5 and while
I am compiling a idl file called InMemMolap_incl.idl with TAO1.5
i am getting " line 68:coercion failure 1024 | 4096 to unsigned short"
error
It works fine with old tao_idl.exe

at line 68 is the following code
"62:const CellFlags EXPLICIT_VALUE_LOCK		= 0x0400;
63:const CellFlags EXPLICIT_PERCENT_LOCK	= 0x0800;
64:const CellFlags EDIT_VALUE_LOCK			= 0x1000;
65:const CellFlags EDIT_PERCENT_LOCK		= 0x2000;
66:
67:// Mix of above for ease of use.
68:const CellFlags VALUE_LOCK				= (EXPLICIT_VALUE_LOCK|EDIT_VALUE_LOCK);"

CellFlags is defined as "typedef UInt16 CellFlags;"

can any one help me or give me any pointer

from
nayeem khan



More information about the Ace-users mailing list