> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Marek Safar > Sent: maandag 11 april 2005 11:31 > To: Gert Driesen > Cc: mono-devel-list@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
test.tar.gz
Description: Binary data