[Mono-list] Nant & buildfile required errors? (+patch)

Jeroen Janssen japj@darius.demon.nl
Mon, 09 Dec 2002 19:08:21 +0100


Jeroen Janssen wrote:
> 3) can mcs currently compile all the class libraries? (since I was 
> hitting some compiler errors)

Is anyone interested in bugreports about compile errors in corlib?

i.e. when I try to build corlib with mcs I get:
---------------------------------------------------------
D:\mono_cvs\mcs\class\corlib>mcs @log.txt

D:\mono_cvs\mcs\class\corlib\System.Runtime.Remoting\SoapServices.cs(225) 
warning CS0108: The keyword new is required on 
`System.Runtime.Remoting.SoapServices.MemberwiseClone' because it hides 
inherited member `Object.MemberwiseClone'
D:\mono_cvs\mcs\class\corlib\System.Runtime.Remoting.Contexts\Context.cs(50) 
error CS0654: Method 
`System.Runtime.Remoting.Contexts.IContextProperty.Name()' is referenced 
without parentheses
Compilation failed: 1 error(s), 1 warnings


when I try to build corlib with csc I get:
---------------------------------------------------------
D:\mono_cvs\mcs\class\corlib>nant
Buildfile: file:///D:/mono_cvs/mcs/class/corlib/corlib.build

build:
       [csc] Compiling 777 files to D:\mono_cvs\mcs\class\lib\corlib.dll
D:\mono_cvs\mcs\class\corlib\System.Runtime.Remoting\SoapServices.cs(225,20): 
warning CS0108: The keyword new is required on 
'System.Runtime.Remoting.SoapServices.MemberwiseClone()' because it 
hides inherited member 'object.MemberwiseClone()'
D:\mono_cvs\mcs\class\corlib\System\Object.cs(72,27): (Location of 
symbol related to previous warning)
D:\mono_cvs\mcs\class\corlib\System.Security.Cryptography\SHA384Managed.cs(139,4): 
warning CS0675: Bitwise-or operator used on a sign-extended operand; 
consider casting to a smaller unsigned type first
D:\mono_cvs\mcs\class\corlib\System.Security.Cryptography\SHA512Managed.cs(138,4): 
warning CS0675: Bitwise-or operator used on a sign-extended operand; 
consider casting to a smaller unsigned type first
D:\mono_cvs\mcs\class\corlib\System\AppDomain.cs(625,29): warning 
CS0067: The event 'System.AppDomain.DomainUnload' is never used
D:\mono_cvs\mcs\class\corlib\System\AppDomain.cs(627,29): warning 
CS0067: The event 'System.AppDomain.ProcessExit' is never used
D:\mono_cvs\mcs\class\corlib\System\AppDomain.cs(629,36): warning 
CS0067: The event 'System.AppDomain.ResourceResolve' is never used
D:\mono_cvs\mcs\class\corlib\System\AppDomain.cs(631,36): warning 
CS0067: The event 'System.AppDomain.TypeResolve' is never used
D:\mono_cvs\mcs\class\corlib\System\AppDomain.cs(633,47): warning 
CS0067: The event 'System.AppDomain.UnhandledException' is never used
---------------------------------------------------------

warnings & errors generated by:
1) both (mcs & csc) are probably bugs in the mono class library 
(example: SoapServices.cs(225,20))?

2) mcs only are probably bugs in mcs?

3) csc are probably also bugs in mcs (for not showing the warning)

What can I do to enter usefull bugreports about these items?

---
Jeroen Janssen