Reduce warning level for external libraries
authorMarek Safar <marek.safar@gmail.com>
Thu, 16 Feb 2012 16:06:58 +0000 (16:06 +0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 17 Feb 2012 12:37:25 +0000 (12:37 +0000)
mcs/class/IBM.Data.DB2/Makefile
mcs/class/ICSharpCode.SharpZipLib/Makefile
mcs/class/Mono.C5/Makefile
mcs/class/Mono.WebBrowser/Makefile
mcs/class/Novell.Directory.Ldap/Makefile
mcs/class/Npgsql/Makefile
mcs/class/System.Dynamic/Makefile
mcs/nunit24/ClientUtilities/util/Makefile
mcs/nunit24/NUnitCore/core/Makefile
mcs/nunit24/NUnitFramework/framework/Makefile

index d64e175fc88a1d4d3e507f725f52f265ec88ee44..abdcbe6b2cd9f709a49384827c4b832b25c85f23 100644 (file)
@@ -4,7 +4,7 @@ include ../../build/rules.make
 
 LIBRARY = IBM.Data.DB2.dll
 LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll \
-       /r:System.Xml.dll /r:System.Data.dll
+       /r:System.Xml.dll /r:System.Data.dll -warn:1
 NO_TEST = yes
 
 EXTRA_DISTFILES = ibm.pub
index fe5ae55972cdb70e8137c502345874ae76555cd4..263107e9e5e0470bf988bf6ec3f89b947b02679e 100644 (file)
@@ -5,7 +5,7 @@ include ../../build/rules.make
 LIBRARY = ICSharpCode.SharpZipLib.dll
 LIBRARY_SNK = SharpZipLib.key
 
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll -warn:1
 NO_TEST = yes
 EXTRA_DISTFILES = SharpZipLib.pub $(LIBRARY_SNK)
 
index 9b981fea78d2238dac15232e1b06e1d9deec8a26..fd1223745e094ec2e2e2f223d4d4e39c8262e20a 100644 (file)
@@ -4,7 +4,7 @@ include ../../build/rules.make
 
 LIBRARY = Mono.C5.dll
 LIBRARY_SNK = c5.snk
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll -nowarn:169
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll -nowarn:169,219,414,1030
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
 
 EXTRA_DISTFILES = \
index 20bbe62e5addaafb7820d06782412ff3333e8265..98d0800038ec34e27a9c265903114623b6171bad 100644 (file)
@@ -3,7 +3,7 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = Mono.WebBrowser.dll
-LIB_MCS_FLAGS = -r:System.dll -debug+ -nowarn:108
+LIB_MCS_FLAGS = -r:System.dll -warn:1
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
index d2f07fd5a34c6be8254052c93774fad7c5b687f2..5ba7d6540297432641afdc011b30dd09e5cf8dea 100644 (file)
@@ -14,7 +14,7 @@ LIB_MCS_FLAGS = \
        $(RESX_RES:%=/res:%)
 else
 LIB_MCS_FLAGS = \
-       /nowarn:649 /nowarn:169 /nowarn:219 /nowarn:168 \
+       -warn:1 \
        -r:$(corlib)                            \
        -r:System.dll                           \
        -r:Mono.Security.dll                    \
index 1dafe2da7d1be154f21cf4f9d7c2ee3ed237d317..16a35bfb42490a8e7655debaa28c87beff4442ca 100755 (executable)
@@ -9,7 +9,7 @@ LIBRARY_SNK = Npgsql/Npgsql.snk
 LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
                /r:System.Data.dll  \
                /r:Mono.Security.dll \
-               @Npgsql.dll.resources
+               -warn:1 @Npgsql.dll.resources
 
 TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
                 /r:System.Web.dll /r:System.Data.dll \
index faea98dbc8703f79d5aed50de93ec446fdcb15df..38490f85cfdcfd8dc75de56ddc23a8d38b756b73 100644 (file)
@@ -4,7 +4,7 @@ include ../../build/rules.make
 
 LIBRARY = System.Dynamic.dll
 
-LIB_MCS_FLAGS = -unsafe -d:CODEPLEX_40 -r:System.Core.dll -r:System.dll
+LIB_MCS_FLAGS = -unsafe -d:CODEPLEX_40 -r:System.Core.dll -r:System.dll -nowarn:414,169
 
 # This is a .NET 4.0+ only assembly
 VALID_PROFILE := $(filter 4, $(FRAMEWORK_VERSION_MAJOR))
index 1ebc27a2c5f3d6d3122fd78a61bee8ddb50cbc16..0113915bcacda5bb7b257c28fa147575a69e6854 100644 (file)
@@ -9,7 +9,7 @@ LOCAL_MCS_FLAGS= \
        /resource:Transform.resources,NUnit.Util.Transform.resources \
        -r:nunit.core.dll -r:nunit.core.interfaces.dll -r:System.dll \
        -r:System.Xml.dll -r:System.Runtime.Remoting.dll \
-       /d:MONO /d:StronglyNamedAssembly
+       /d:MONO /d:StronglyNamedAssembly -warn:1
 NO_TEST = yo
 
 RESX_RES = Transform.resources
index 18e1e79a1416d5c879d50b6debddab5354a5e9b5..c20d787be81c40924e6eedb308d761983cc3747c 100644 (file)
@@ -5,7 +5,7 @@ include ../../../build/rules.make
 LIBRARY = nunit.core.dll
 LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
 
-LOCAL_MCS_FLAGS= -debug -r:nunit.framework.dll -r:nunit.core.interfaces.dll -r:System.dll /d:StronglyNamedAssembly
+LOCAL_MCS_FLAGS= -r:nunit.framework.dll -r:nunit.core.interfaces.dll -r:System.dll /d:StronglyNamedAssembly -warn:1
 NO_TEST = yo
 
 ifneq (net_2_0, $(PROFILE))
index 67e7b1fe97ae25e728dc8b6bc1b8358ce3e62b0a..f00adfacfb98f33dd2f569a19b85a780b3580f8a 100644 (file)
@@ -6,7 +6,7 @@ LIBRARY = NUnit.Framework.dll
 LIBRARY_NAME = nunit.framework.dll
 LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
 
-LIB_MCS_FLAGS = -debug /r:System.Xml.dll /r:System.dll /d:StronglyNamedAssembly
+LIB_MCS_FLAGS = /r:System.Xml.dll /r:System.dll /d:StronglyNamedAssembly -warn:1
 NO_TEST = yo
 
 ifneq (net_2_0, $(PROFILE))