[Mono-devel-list] Weird warnings using mcs svn on Windows

Gert Driesen gert.driesen at telenet.be
Mon Apr 11 13:57:52 EDT 2005


 

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Marek Safar
> Sent: maandag 11 april 2005 11:31
> To: Gert Driesen
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-devel-list] Weird warnings using mcs svn on Windows
> 
> Hello,
> 
> >>>As of recently, I get the following warning (numerous 
> times) when using
> >>>      
> >>>
> >mcs
> >  
> >
> >>>svn to compile even the simplest app on Windows:
> >>>
> >>>warning CS8028: The method 'System.Object.Finalize()' is marked
> >>>      
> >>>
> >'override',
> >  
> >
> >>>but
> >>>doesn't appear to override any virtual or abstract method: 
> it may be
> >>>      
> >>>
> >ignored
> >  
> >
> >>>dur
> >>>ing overload resolution
> >>>C:\cygwin\usr\local\lib\mono\1.0\mscorlib.dll: 
> 'System.Object.Finalize'
> >>>(name of
> >>>symbol related to previous warning
> >>>
> >>>Any idea what might be causing this ?
> >>>
> >>>
> >>>      
> >>>
> >>It is caused by one of  last Hari commit. I will look at this,
> >>unfortunately I have not had time so far.
> >>
> >>But even if you are using mcs on windows you should use Mono runtime
> >>because mcs functionality with Microsoft runtime is limited.
> >>    
> >>
> >
> >I am using the Mono runtime, that's what makes this warning so weird.
> >  
> >
> No, I don't think you are using Mono runtime.
> 
> Try to compile some simple code by mono mcs.exe x.cs and then by 
> mono.exe mcs.exe x.cs (add correct path to mcs)

I verified this again, and I'm very sure I'm using the Mono runtime:

$ mono.exe c:/cygwin/usr/local/lib/mono/1.0/mcs.exe test.cs
warning CS8028: The method 'System.Object.Finalize()' is marked 'override',
but
doesn't appear to override any virtual or abstract method: it may be ignored
dur
ing overload resolution
C:\cygwin\usr\local\lib\mono\1.0\mscorlib.dll: 'System.Object.Finalize'
(name of
 symbol related to previous warning
Compilation succeeded - 1 warning(s)

I attached the verbose log.

Gert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.gz
Type: application/octet-stream
Size: 24427 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050411/eccd70c1/attachment.obj 


More information about the Mono-devel-list mailing list