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

Marek Safar marek.safar at seznam.cz
Mon Apr 11 05:31:11 EDT 2005


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 have no problems using gmcs svn on Windows, and no problems using mcs or
>gmcs (both built from svn) on linux.
>  
>
Because Martin have not integrated the changes yet.

Marek




More information about the Mono-devel-list mailing list