[omniORB] const unsigned long 0xffffffff
Melih Ercan xe44 9777
ercanm@access.bel.alcatel.be
Mon, 06 Apr 1998 14:10:44 +0200
When I define the following in IDL:
const unsigned long myConst=0xffffffff;
I got the following error msg from the IDL compiler:
omniidl2: "tank.idl", line 1: coercion failure -1 to unsigned long
omniidl2: tank.idl: found 1 error
It is obvious that the constant 0xffffffff is seen as signed (i.e. -1).
So I will get an error
message for all constants greater than 0x80000000. Is there a way to say
that 0xffffffff
is unsigned?
Regards.
Melih Ercan.