hi guys,
this is just a small warning genereated with csc.
Just to let you know.
slice:
csc warning:Code:exception SomeException { string Message; };
Code:warning CS0108: keyword 'new' neccessary in 'SomeException'
thx tom
|
|
hi guys,
this is just a small warning genereated with csc.
Just to let you know.
slice:
csc warning:Code:exception SomeException { string Message; };
Code:warning CS0108: keyword 'new' neccessary in 'SomeException'
thx tom
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.
Actually, the fix was trivial -- I've posted a patch here: http://www.zeroc.com/vbulletin/showt...&threadid=1116.
Cheers,
Michi.
There are currently 1 users browsing this thread. (0 members and 1 guests)