diff options
-rw-r--r-- | libz/README-DEV | 4 | ||||
-rw-r--r-- | libz/libz/buildfile | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/libz/README-DEV b/libz/README-DEV index aa7874f..79d7ad1 100644 --- a/libz/README-DEV +++ b/libz/README-DEV @@ -1,3 +1,7 @@ +TODO: + + - Try to re-enable warnings in case fixed. + This document describes how libz was packaged for build2. In particular, this understanding will be useful when upgrading to a new upstream version. See ../README-DEV for general notes on zlib packaging. diff --git a/libz/libz/buildfile b/libz/libz/buildfile index 15939d5..d2660d0 100644 --- a/libz/libz/buildfile +++ b/libz/libz/buildfile @@ -57,12 +57,19 @@ switch $c.class # way that works across compilers/version (some -Wno-* options are only # recognized in newer versions). # + # @@ TMP: try to re-enable on next release. + # c.coptions += -Wno-all -Wno-extra - # Disable the Clang targeting MSVC warnings. - # - if ($c.id == 'clang' && $tsys == 'win32-msvc') - c.coptions += -Wno-deprecated-declarations + if ($c.id == 'clang') + { + c.coptions += -Wno-deprecated-non-prototype + + # Disable the Clang targeting MSVC warnings. + # + if ($tsys == 'win32-msvc') + c.coptions += -Wno-deprecated-declarations + } } case 'msvc' { |