diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-24 16:05:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 16:05:39 +0300 |
commit | 5ef930b5f82c48e1601916aaeb42e53f32e4003b (patch) | |
tree | 437a994834afa755c16ebdc7ed260f59e57e44c2 /mcs/class/System.Configuration | |
parent | 7b4dfeebc40cf8c027819b8b7bd85a4e7c87ad50 (diff) |
[bcl] Build some assemblies with -warnaserror (#5295)
* [bcl] Build some assemblies with -warnaserror
This ensures that we keep the build warning free.
We'll only opt-in a few assemblies that already have zero warnings.
We also only apply this when using csc as mcs might raise different warnings.
For now just opt-in assemblies in the net_4_x profile.
Diffstat (limited to 'mcs/class/System.Configuration')
-rw-r--r-- | mcs/class/System.Configuration/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/System.Configuration/Makefile b/mcs/class/System.Configuration/Makefile index 918a4e9325e..e59076d70da 100644 --- a/mcs/class/System.Configuration/Makefile +++ b/mcs/class/System.Configuration/Makefile @@ -12,6 +12,7 @@ LIB_MCS_FLAGS = -nowarn:618 TEST_MCS_FLAGS = TEST_LIB_REFS = System.Xml System TEST_NUNITLITE_APP_CONFIG_GLOBAL=Test/test-config-file +LIBRARY_WARN_AS_ERROR = yes include ../../build/library.make |