Archived
This forum has been archived. Please start a new discussion on GitHub.
CS: compiler warning
hi guys,
this is just a small warning genereated with csc.
Just to let you know.
slice:
csc warning:
thx tom
this is just a small warning genereated with csc.
Just to let you know.
slice:
exception SomeException { string Message; };
csc warning:
warning CS0108: keyword 'new' neccessary in 'SomeException'
thx tom
0
Comments
-
Thanks for reporting this! The member clashes with the "Message" property that is inherited from System.Exception. The Slice compiler should map that member to _Ice_Message instead of using it unchanged. I'll fix the compiler to do this for the next release. In the mean time, I'm afraid you'll have to call the member something else. ("message" would work, for example.)
Cheers,
Michi.0 -
Actually, the fix was trivial -- I've posted a patch here: http://www.zeroc.com/vbulletin/showthread.php?s=&threadid=1116.
Cheers,
Michi.0