Author: miguel
Date: 2005-04-18 21:10:26 -0400 (Mon, 18 Apr 2005)
New Revision: 43234
Modified:
trunk/mcs/mcs/convert.cs
trunk/mcs/mcs/driver.cs
trunk/mcs/mcs/parameter.cs
trunk/mcs/mcs/typemanager.cs
Log:
Removed warnings, and fixed the numbers reported
Modified: trunk/mcs/mcs/convert.cs
===================================================================
--- trunk/mcs/mcs/convert.cs 2005-04-18 23:41:46 UTC (rev 43233)
+++ trunk/mcs/mcs/convert.cs 2005-04-19 01:10:26 UTC (rev 43234)
@@ -1788,7 +1788,6 @@
return ne;
}
- skip_explicit:
if (ec.InUnsafe){
if (target_type.IsPointer){
if (expr_type.IsPointer)
Modified: trunk/mcs/mcs/driver.cs
===================================================================
--- trunk/mcs/mcs/driver.cs 2005-04-18 23:41:46 UTC (rev 43233)
+++ trunk/mcs/mcs/driver.cs 2005-04-19 01:10:26 UTC (rev 43234)
@@ -1789,8 +1789,6 @@
// This is the only public entry point
//
public class CompilerCallableEntryPoint : MarshalByRefObject {
- static bool used = false;
-
public static bool InvokeCompiler (string [] args, TextWriter
error)
{
Report.Stderr = error;
Modified: trunk/mcs/mcs/parameter.cs
===================================================================
--- trunk/mcs/mcs/parameter.cs 2005-04-18 23:41:46 UTC (rev 43233)
+++ trunk/mcs/mcs/parameter.cs 2005-04-19 01:10:26 UTC (rev 43234)
@@ -63,7 +63,7 @@
builder = mb.DefineParameter (0,
ParameterAttributes.None, "");
}
catch (ArgumentOutOfRangeException) {
- Report.Warning (-28, location, "The Microsoft
.NET Runtime 1.x does not permit setting custom attributes on the return type");
+ Report.Warning (-24, location, "The Microsoft
.NET Runtime 1.x does not permit setting custom attributes on the return type");
}
}
Modified: trunk/mcs/mcs/typemanager.cs
===================================================================
--- trunk/mcs/mcs/typemanager.cs 2005-04-18 23:41:46 UTC (rev 43233)
+++ trunk/mcs/mcs/typemanager.cs 2005-04-19 01:10:26 UTC (rev 43234)
@@ -2312,7 +2312,7 @@
new Type [] { typeof (Type), typeof (bool)},
null);
if (declare_local_method == null){
- Report.Warning (-24, new Location (-1),
+ Report.Warning (-30, new Location (-1),
"This version of the runtime
does not support making pinned local variables. " +
"This code may cause errors on
a runtime with a moving GC");
return ig.DeclareLocal (t);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches