Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2005
DeepDiver's Avatar
DeepDiver DeepDiver is online now
Registered User
 
Name: Thomas Müller
Organization: Freelance Software Developer
Project: Project depend on Customers
 
Join Date: Nov 2004
Location: Munich, Bavaria, Germany
Posts: 101
CS: compiler warning

hi guys,

this is just a small warning genereated with csc.
Just to let you know.

slice:

Code:
exception SomeException
{
	string		Message;
};
csc warning:
Code:
warning CS0108: keyword 'new' neccessary in 'SomeException'

thx tom
Reply With Quote
  #2 (permalink)  
Old 01-10-2005
michi's Avatar
michi michi is offline
Registered User
 
Name: Michi Henning
Organization: Triodia Technologies
Project: I have a passing interest in Ice :-)
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 1,055
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.
Reply With Quote
  #3 (permalink)  
Old 01-10-2005
michi's Avatar
michi michi is offline
Registered User
 
Name: Michi Henning
Organization: Triodia Technologies
Project: I have a passing interest in Ice :-)
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 1,055
Actually, the fix was trivial -- I've posted a patch here: Patch #2 for slice2cs and slice2vb, release 2.0.0.

Cheers,

Michi.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
slice2freeze: warning: use of sequences Andrew Help Center 2 06-10-2008 08:32 AM
ThreadPool warning when Size=MaxSize jae Help Center 1 12-28-2007 09:03 PM
Strange ThreadPool size warning mefoster Help Center 1 10-02-2007 05:08 AM
Freeze compilation warning ctennis Bug Reports 1 03-16-2007 08:18 PM
Leak Warning - Why? acbell Help Center 5 08-03-2005 02:55 PM


All times are GMT -4. The time now is 04:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2009 ZeroC, Inc.