Skip to content
Browse files

Reduce warning level for external libraries

  • Loading branch information...
1 parent 6e61f64 commit 2531552bdcee25f89e28f69127fb6088f7e21b0c @marek-safar marek-safar committed Feb 16, 2012
View
2 mcs/class/IBM.Data.DB2/Makefile
@@ -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
View
2 mcs/class/ICSharpCode.SharpZipLib/Makefile
@@ -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)
View
2 mcs/class/Mono.C5/Makefile
@@ -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 = \
View
2 mcs/class/Mono.WebBrowser/Makefile
@@ -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)
View
2 mcs/class/Novell.Directory.Ldap/Makefile
@@ -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 \
View
2 mcs/class/Npgsql/Makefile
@@ -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 \
View
2 mcs/class/System.Dynamic/Makefile
@@ -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))
View
2 mcs/nunit24/ClientUtilities/util/Makefile
@@ -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
View
2 mcs/nunit24/NUnitCore/core/Makefile
@@ -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))
View
2 mcs/nunit24/NUnitFramework/framework/Makefile
@@ -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))

0 comments on commit 2531552

Please sign in to comment.
Something went wrong with that request. Please try again.