From: Ondřej Surý Date: Wed, 8 Apr 2020 08:58:45 +0000 (+0200) Subject: Set WarningLevel to Level1 for Release, treat warnings as errors X-Git-Tag: v9.17.2~146^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=789d253e3d0792c177476cb899933aa08415f20a;p=thirdparty%2Fbind9.git Set WarningLevel to Level1 for Release, treat warnings as errors Our vcxproj files set the WarningLevel to Level3, which is too verbose for a code that needs to be portable. That basically leads to ignoring all the errors that MSVC produces. This commits downgrades the WarningLevel to Level1 and enables treating warnings as errors for Release builds. For the Debug builds the WarningLevel got upgraded to Level4, and treating warnings as errors is explicitly disabled. We should eventually make the code clean of all MSVC warnings, but it's a long way to go for Level4, so it's more reasonable to start at Level1. For reference[1], these are the warning levels as described by MSVC documentation: * /W0 suppresses all warnings. It's equivalent to /w. * /W1 displays level 1 (severe) warnings. /W1 is the default setting in the command-line compiler. * /W2 displays level 1 and level 2 (significant) warnings. * /W3 displays level 1, level 2, and level 3 (production quality) warnings. /W3 is the default setting in the IDE. * /W4 displays level 1, level 2, and level 3 warnings, and all level 4 (informational) warnings that aren't off by default. We recommend that you use this option to provide lint-like warnings. For a new project, it may be best to use /W4 in all compilations. This option helps ensure the fewest possible hard-to-find code defects. * /Wall displays all warnings displayed by /W4 and all other warnings that /W4 doesn't include — for example, warnings that are off by default. * /WX treats all compiler warnings as errors. For a new project, it may be best to use /WX in all compilations; resolving all warnings ensures the fewest possible hard-to-find code defects. 1. https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level?view=vs-2019 --- diff --git a/bin/check/win32/checkconf.vcxproj.in b/bin/check/win32/checkconf.vcxproj.in index 2c24c072252..b986d0d0c0c 100644 --- a/bin/check/win32/checkconf.vcxproj.in +++ b/bin/check/win32/checkconf.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/check/win32/checktool.vcxproj.in b/bin/check/win32/checktool.vcxproj.in index f7763895fac..46b07e5c7ab 100644 --- a/bin/check/win32/checktool.vcxproj.in +++ b/bin/check/win32/checktool.vcxproj.in @@ -59,7 +59,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) true @@ -78,7 +79,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/check/win32/checkzone.vcxproj.in b/bin/check/win32/checkzone.vcxproj.in index 4c4c1625477..128b5d499c6 100644 --- a/bin/check/win32/checkzone.vcxproj.in +++ b/bin/check/win32/checkzone.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -85,7 +86,8 @@ copy /Y named-checkzone.ilk named-compilezone.ilk - Level3 + Level1 + true MaxSpeed diff --git a/bin/confgen/win32/confgentool.vcxproj.in b/bin/confgen/win32/confgentool.vcxproj.in index af0357388b4..3942c21f018 100644 --- a/bin/confgen/win32/confgentool.vcxproj.in +++ b/bin/confgen/win32/confgentool.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -74,7 +75,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/confgen/win32/ddnsconfgen.vcxproj.in b/bin/confgen/win32/ddnsconfgen.vcxproj.in index 20b8a38e342..f0ecac5d22b 100644 --- a/bin/confgen/win32/ddnsconfgen.vcxproj.in +++ b/bin/confgen/win32/ddnsconfgen.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -85,7 +86,8 @@ copy /Y ddns-confgen.ilk tsig-keygen.ilk - Level3 + Level1 + true MaxSpeed diff --git a/bin/confgen/win32/rndcconfgen.vcxproj.in b/bin/confgen/win32/rndcconfgen.vcxproj.in index 7e098d736b0..42dc331a18a 100644 --- a/bin/confgen/win32/rndcconfgen.vcxproj.in +++ b/bin/confgen/win32/rndcconfgen.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/delv/win32/delv.vcxproj.in b/bin/delv/win32/delv.vcxproj.in index df9171e9984..3c95ea868b3 100644 --- a/bin/delv/win32/delv.vcxproj.in +++ b/bin/delv/win32/delv.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dig/win32/dig.vcxproj.in b/bin/dig/win32/dig.vcxproj.in index 235fa727fb9..5c40caa1adb 100644 --- a/bin/dig/win32/dig.vcxproj.in +++ b/bin/dig/win32/dig.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dig/win32/dighost.vcxproj.in b/bin/dig/win32/dighost.vcxproj.in index 086dcf61e65..9644a5a1296 100644 --- a/bin/dig/win32/dighost.vcxproj.in +++ b/bin/dig/win32/dighost.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -75,7 +76,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dig/win32/host.vcxproj.in b/bin/dig/win32/host.vcxproj.in index 5736993d9c2..1066a3783b4 100644 --- a/bin/dig/win32/host.vcxproj.in +++ b/bin/dig/win32/host.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dig/win32/nslookup.vcxproj.in b/bin/dig/win32/nslookup.vcxproj.in index 3d048c9f199..7b3b9d5185d 100644 --- a/bin/dig/win32/nslookup.vcxproj.in +++ b/bin/dig/win32/nslookup.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;USE_READLINE_STATIC;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/cds.vcxproj.in b/bin/dnssec/win32/cds.vcxproj.in index f17ee3c9627..d5859e14092 100644 --- a/bin/dnssec/win32/cds.vcxproj.in +++ b/bin/dnssec/win32/cds.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/dnssectool.vcxproj.in b/bin/dnssec/win32/dnssectool.vcxproj.in index a2c1c165d99..d3582eb0701 100644 --- a/bin/dnssec/win32/dnssectool.vcxproj.in +++ b/bin/dnssec/win32/dnssectool.vcxproj.in @@ -62,7 +62,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) true @@ -82,7 +83,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/dsfromkey.vcxproj.in b/bin/dnssec/win32/dsfromkey.vcxproj.in index ea4229f794a..02766440864 100644 --- a/bin/dnssec/win32/dsfromkey.vcxproj.in +++ b/bin/dnssec/win32/dsfromkey.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -92,7 +93,8 @@ set PYTHONPATH=. - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/importkey.vcxproj.in b/bin/dnssec/win32/importkey.vcxproj.in index 32a9c3ad3b7..0942047b14e 100644 --- a/bin/dnssec/win32/importkey.vcxproj.in +++ b/bin/dnssec/win32/importkey.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/keyfromlabel.vcxproj.in b/bin/dnssec/win32/keyfromlabel.vcxproj.in index cda58e34355..60b4188bde3 100644 --- a/bin/dnssec/win32/keyfromlabel.vcxproj.in +++ b/bin/dnssec/win32/keyfromlabel.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/keygen.vcxproj.in b/bin/dnssec/win32/keygen.vcxproj.in index ddef528081c..409a28cbfbe 100644 --- a/bin/dnssec/win32/keygen.vcxproj.in +++ b/bin/dnssec/win32/keygen.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/revoke.vcxproj.in b/bin/dnssec/win32/revoke.vcxproj.in index bf82c953682..a68147ea022 100644 --- a/bin/dnssec/win32/revoke.vcxproj.in +++ b/bin/dnssec/win32/revoke.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/settime.vcxproj.in b/bin/dnssec/win32/settime.vcxproj.in index 365b2e87a08..10fffc193f4 100644 --- a/bin/dnssec/win32/settime.vcxproj.in +++ b/bin/dnssec/win32/settime.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/signzone.vcxproj.in b/bin/dnssec/win32/signzone.vcxproj.in index 02e87af9407..d5d48bac703 100644 --- a/bin/dnssec/win32/signzone.vcxproj.in +++ b/bin/dnssec/win32/signzone.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/dnssec/win32/verify.vcxproj.in b/bin/dnssec/win32/verify.vcxproj.in index 25d79359c70..e0d94ac1a6c 100644 --- a/bin/dnssec/win32/verify.vcxproj.in +++ b/bin/dnssec/win32/verify.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/named/win32/named.vcxproj.in b/bin/named/win32/named.vcxproj.in index 242301a553b..ccac4fb65e3 100644 --- a/bin/named/win32/named.vcxproj.in +++ b/bin/named/win32/named.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;@USE_GSSAPI@BUILDER="Visual Studio";_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/nsupdate/win32/nsupdate.vcxproj.in b/bin/nsupdate/win32/nsupdate.vcxproj.in index d1048e458ae..f770d474f4b 100644 --- a/bin/nsupdate/win32/nsupdate.vcxproj.in +++ b/bin/nsupdate/win32/nsupdate.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;@USE_GSSAPI@USE_READLINE_STATIC;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/pkcs11/win32/pk11destroy.vcxproj.in b/bin/pkcs11/win32/pk11destroy.vcxproj.in index 043f8d07d29..09eed4c0d98 100644 --- a/bin/pkcs11/win32/pk11destroy.vcxproj.in +++ b/bin/pkcs11/win32/pk11destroy.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;@PK11_LIB_LOCATION@_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/pkcs11/win32/pk11keygen.vcxproj.in b/bin/pkcs11/win32/pk11keygen.vcxproj.in index 058ee31d0bc..ed170d3a2e1 100644 --- a/bin/pkcs11/win32/pk11keygen.vcxproj.in +++ b/bin/pkcs11/win32/pk11keygen.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;@PK11_LIB_LOCATION@_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/pkcs11/win32/pk11list.vcxproj.in b/bin/pkcs11/win32/pk11list.vcxproj.in index d30351866b2..823b522a12f 100644 --- a/bin/pkcs11/win32/pk11list.vcxproj.in +++ b/bin/pkcs11/win32/pk11list.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;@PK11_LIB_LOCATION@_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/pkcs11/win32/pk11tokens.vcxproj.in b/bin/pkcs11/win32/pk11tokens.vcxproj.in index bb0921c4514..b4066a9b200 100644 --- a/bin/pkcs11/win32/pk11tokens.vcxproj.in +++ b/bin/pkcs11/win32/pk11tokens.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;@PK11_LIB_LOCATION@_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/rndc/win32/rndc.vcxproj.in b/bin/rndc/win32/rndc.vcxproj.in index c65363f1937..5692a1edd85 100644 --- a/bin/rndc/win32/rndc.vcxproj.in +++ b/bin/rndc/win32/rndc.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/rndc/win32/rndcutil.vcxproj.in b/bin/rndc/win32/rndcutil.vcxproj.in index 85bceb06bc8..2927652a0aa 100644 --- a/bin/rndc/win32/rndcutil.vcxproj.in +++ b/bin/rndc/win32/rndcutil.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -75,7 +76,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/bigkey.vcxproj.in b/bin/tests/system/win32/bigkey.vcxproj.in index 6587173d29e..07262199fc6 100644 --- a/bin/tests/system/win32/bigkey.vcxproj.in +++ b/bin/tests/system/win32/bigkey.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/feature-test.vcxproj.in b/bin/tests/system/win32/feature-test.vcxproj.in index 3efed6512f7..5568b1556ad 100644 --- a/bin/tests/system/win32/feature-test.vcxproj.in +++ b/bin/tests/system/win32/feature-test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/gencheck.vcxproj.in b/bin/tests/system/win32/gencheck.vcxproj.in index e6b05a4409c..a304d7de392 100644 --- a/bin/tests/system/win32/gencheck.vcxproj.in +++ b/bin/tests/system/win32/gencheck.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/keycreate.vcxproj.in b/bin/tests/system/win32/keycreate.vcxproj.in index 870b8485660..1409912902d 100644 --- a/bin/tests/system/win32/keycreate.vcxproj.in +++ b/bin/tests/system/win32/keycreate.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/keydelete.vcxproj.in b/bin/tests/system/win32/keydelete.vcxproj.in index c4df0bf3244..ef955cc8f48 100644 --- a/bin/tests/system/win32/keydelete.vcxproj.in +++ b/bin/tests/system/win32/keydelete.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/system/win32/pipequeries.vcxproj.in b/bin/tests/system/win32/pipequeries.vcxproj.in index d5ec974ea34..1099b20cfc4 100644 --- a/bin/tests/system/win32/pipequeries.vcxproj.in +++ b/bin/tests/system/win32/pipequeries.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/backtrace_test.vcxproj.in b/bin/tests/win32/backtrace_test.vcxproj.in index 0b0736ab342..547195f5de2 100644 --- a/bin/tests/win32/backtrace_test.vcxproj.in +++ b/bin/tests/win32/backtrace_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/inter_test.vcxproj.in b/bin/tests/win32/inter_test.vcxproj.in index c63a56d8468..ab7c9178466 100644 --- a/bin/tests/win32/inter_test.vcxproj.in +++ b/bin/tests/win32/inter_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/makejournal.vcxproj.in b/bin/tests/win32/makejournal.vcxproj.in index 8481cd2cb80..7f7c793577e 100644 --- a/bin/tests/win32/makejournal.vcxproj.in +++ b/bin/tests/win32/makejournal.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/rwlock_test.vcxproj.in b/bin/tests/win32/rwlock_test.vcxproj.in index 0f926c9e784..8f6c33fa5a1 100644 --- a/bin/tests/win32/rwlock_test.vcxproj.in +++ b/bin/tests/win32/rwlock_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/shutdown_test.vcxproj.in b/bin/tests/win32/shutdown_test.vcxproj.in index 0cf3fdbd030..8ddbe28f7a0 100644 --- a/bin/tests/win32/shutdown_test.vcxproj.in +++ b/bin/tests/win32/shutdown_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/sock_test.vcxproj.in b/bin/tests/win32/sock_test.vcxproj.in index 7354efa5417..0b0ef84809a 100644 --- a/bin/tests/win32/sock_test.vcxproj.in +++ b/bin/tests/win32/sock_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/task_test.vcxproj.in b/bin/tests/win32/task_test.vcxproj.in index 16547dd6120..a439cb208bb 100644 --- a/bin/tests/win32/task_test.vcxproj.in +++ b/bin/tests/win32/task_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tests/win32/timer_test.vcxproj.in b/bin/tests/win32/timer_test.vcxproj.in index 66bb3957a12..336d7bc17b9 100644 --- a/bin/tests/win32/timer_test.vcxproj.in +++ b/bin/tests/win32/timer_test.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tools/win32/arpaname.vcxproj.in b/bin/tools/win32/arpaname.vcxproj.in index b141ccdb2a7..d745a01fc88 100644 --- a/bin/tools/win32/arpaname.vcxproj.in +++ b/bin/tools/win32/arpaname.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) ..\..\..\config.h @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tools/win32/journalprint.vcxproj.in b/bin/tools/win32/journalprint.vcxproj.in index 0c0a86f5f02..f8750295c88 100644 --- a/bin/tools/win32/journalprint.vcxproj.in +++ b/bin/tools/win32/journalprint.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tools/win32/mdig.vcxproj.in b/bin/tools/win32/mdig.vcxproj.in index 4c366fbd170..48aa5784170 100644 --- a/bin/tools/win32/mdig.vcxproj.in +++ b/bin/tools/win32/mdig.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tools/win32/nsec3hash.vcxproj.in b/bin/tools/win32/nsec3hash.vcxproj.in index 1840de335b9..aea2cc9c6d2 100644 --- a/bin/tools/win32/nsec3hash.vcxproj.in +++ b/bin/tools/win32/nsec3hash.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/tools/win32/rrchecker.vcxproj.in b/bin/tools/win32/rrchecker.vcxproj.in index fd68747139e..437f630c631 100644 --- a/bin/tools/win32/rrchecker.vcxproj.in +++ b/bin/tools/win32/rrchecker.vcxproj.in @@ -56,7 +56,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/bin/win32/BINDInstall/BINDInstall.vcxproj.in b/bin/win32/BINDInstall/BINDInstall.vcxproj.in index 2b901d98479..b7f5e6829a9 100644 --- a/bin/win32/BINDInstall/BINDInstall.vcxproj.in +++ b/bin/win32/BINDInstall/BINDInstall.vcxproj.in @@ -56,7 +56,8 @@ MultiThreadedDebug Use - Level3 + Level4 + false Disabled WIN32;@USE_GSSAPI@@USE_PYTHON@_DEBUG;_WINDOWS;%(PreprocessorDefinitions) ..\..\..;..\include;..\..\..\include;..\..\named\win32\include;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;%(AdditionalIncludeDirectories) @@ -83,7 +84,8 @@ MultiThreaded - Level3 + Level1 + true Use MaxSpeed true diff --git a/doc/xsl/graphics/caution.eps b/doc/xsl/graphics/caution.eps index c9473b72720..ff3c2c4c4c0 100644 --- a/doc/xsl/graphics/caution.eps +++ b/doc/xsl/graphics/caution.eps @@ -82,8 +82,8 @@ readbinarystring } if pop exch pop } bdf -/_NXLevel2 defed { -_NXLevel2 not { +/_NXLevel1 defed { +_NXLevel1 not { /colorimage where { userdict eq { /_rci false def diff --git a/doc/xsl/graphics/important.eps b/doc/xsl/graphics/important.eps index c9473b72720..ff3c2c4c4c0 100644 --- a/doc/xsl/graphics/important.eps +++ b/doc/xsl/graphics/important.eps @@ -82,8 +82,8 @@ readbinarystring } if pop exch pop } bdf -/_NXLevel2 defed { -_NXLevel2 not { +/_NXLevel1 defed { +_NXLevel1 not { /colorimage where { userdict eq { /_rci false def diff --git a/doc/xsl/graphics/note.eps b/doc/xsl/graphics/note.eps index 39be23fa778..f5df5217813 100644 --- a/doc/xsl/graphics/note.eps +++ b/doc/xsl/graphics/note.eps @@ -82,8 +82,8 @@ readbinarystring } if pop exch pop } bdf -/_NXLevel2 defed { -_NXLevel2 not { +/_NXLevel1 defed { +_NXLevel1 not { /colorimage where { userdict eq { /_rci false def diff --git a/doc/xsl/graphics/tip.eps b/doc/xsl/graphics/tip.eps index a28ad883eb7..0edd2ef792d 100644 --- a/doc/xsl/graphics/tip.eps +++ b/doc/xsl/graphics/tip.eps @@ -82,8 +82,8 @@ readbinarystring } if pop exch pop } bdf -/_NXLevel2 defed { -_NXLevel2 not { +/_NXLevel1 defed { +_NXLevel1 not { /colorimage where { userdict eq { /_rci false def diff --git a/doc/xsl/graphics/warning.eps b/doc/xsl/graphics/warning.eps index c9473b72720..ff3c2c4c4c0 100644 --- a/doc/xsl/graphics/warning.eps +++ b/doc/xsl/graphics/warning.eps @@ -82,8 +82,8 @@ readbinarystring } if pop exch pop } bdf -/_NXLevel2 defed { -_NXLevel2 not { +/_NXLevel1 defed { +_NXLevel1 not { /colorimage where { userdict eq { /_rci false def diff --git a/lib/bind9/win32/libbind9.vcxproj.in b/lib/bind9/win32/libbind9.vcxproj.in index 32875b3f1ba..3b66ac650dd 100644 --- a/lib/bind9/win32/libbind9.vcxproj.in +++ b/lib/bind9/win32/libbind9.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBBIND9_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions) ..\..\..\config.h @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/dns/win32/gen.vcxproj.in b/lib/dns/win32/gen.vcxproj.in index 67c06d0ef5b..33a8a1e6f7a 100644 --- a/lib/dns/win32/gen.vcxproj.in +++ b/lib/dns/win32/gen.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) .\;..\..\..\;..\..\isc\win32;..\..\isc\win32\include;..\..\isc\include;%(AdditionalIncludeDirectories) @@ -83,7 +84,8 @@ gen -s . > code.h - Level3 + Level1 + true MaxSpeed diff --git a/lib/dns/win32/libdns.vcxproj.in b/lib/dns/win32/libdns.vcxproj.in index 89019d8912a..f3556973015 100644 --- a/lib/dns/win32/libdns.vcxproj.in +++ b/lib/dns/win32/libdns.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled BIND9;WIN32;@USE_GSSAPI@@USE_ISC_SPNEGO@_DEBUG;_WINDOWS;_USRDLL;LIBDNS_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions);%(PreprocessorDefinitions) ..\..\..\config.h @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/irs/win32/libirs.vcxproj.in b/lib/irs/win32/libirs.vcxproj.in index c09f981db09..5a23edcf80f 100644 --- a/lib/irs/win32/libirs.vcxproj.in +++ b/lib/irs/win32/libirs.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBIRS_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions) ..\..\..\config.h @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/isc/win32/libisc.vcxproj.in b/lib/isc/win32/libisc.vcxproj.in index 5267abfe4d2..985ff4a744a 100644 --- a/lib/isc/win32/libisc.vcxproj.in +++ b/lib/isc/win32/libisc.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled @IF PKCS11 BIND9;@PK11_LIB_LOCATION@WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions) @@ -142,7 +143,8 @@ copy InstallFiles ..\Build\Debug\ - Level3 + Level1 + true MaxSpeed diff --git a/lib/isccc/win32/libisccc.vcxproj.in b/lib/isccc/win32/libisccc.vcxproj.in index fbcab6713db..799dec4f1b7 100644 --- a/lib/isccc/win32/libisccc.vcxproj.in +++ b/lib/isccc/win32/libisccc.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISCCC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions) ..\..\..\config.h @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/isccfg/win32/libisccfg.vcxproj.in b/lib/isccfg/win32/libisccfg.vcxproj.in index 584341f82fa..8d4b5c402a4 100644 --- a/lib/isccfg/win32/libisccfg.vcxproj.in +++ b/lib/isccfg/win32/libisccfg.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISCCFG_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions) ..\..\..\config.h @@ -79,7 +80,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/ns/win32/libns.vcxproj.in b/lib/ns/win32/libns.vcxproj.in index f7836b086b0..f9245762daf 100644 --- a/lib/ns/win32/libns.vcxproj.in +++ b/lib/ns/win32/libns.vcxproj.in @@ -53,7 +53,8 @@ - Level3 + Level4 + false Disabled WIN32;@USE_GSSAPI@_DEBUG;_USRDLL;LIBNS_EXPORTS;%(PreprocessorDefinitions) ..\..\..\config.h @@ -78,7 +79,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/async.vcxproj.in b/lib/samples/win32/async.vcxproj.in index 366833df136..a3398dda10a 100644 --- a/lib/samples/win32/async.vcxproj.in +++ b/lib/samples/win32/async.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/gai.vcxproj.in b/lib/samples/win32/gai.vcxproj.in index 249bab36a39..b823593ee3e 100644 --- a/lib/samples/win32/gai.vcxproj.in +++ b/lib/samples/win32/gai.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/nsprobe.vcxproj.in b/lib/samples/win32/nsprobe.vcxproj.in index 06807bd41bc..98da82223e8 100644 --- a/lib/samples/win32/nsprobe.vcxproj.in +++ b/lib/samples/win32/nsprobe.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/request.vcxproj.in b/lib/samples/win32/request.vcxproj.in index 997e14dd4e8..85bbc178b44 100644 --- a/lib/samples/win32/request.vcxproj.in +++ b/lib/samples/win32/request.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/resolve.vcxproj.in b/lib/samples/win32/resolve.vcxproj.in index 71fca3d46d9..061375a0a37 100644 --- a/lib/samples/win32/resolve.vcxproj.in +++ b/lib/samples/win32/resolve.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/samples/win32/update.vcxproj.in b/lib/samples/win32/update.vcxproj.in index ba06e293b12..d0218e0a047 100644 --- a/lib/samples/win32/update.vcxproj.in +++ b/lib/samples/win32/update.vcxproj.in @@ -54,7 +54,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -77,7 +78,8 @@ - Level3 + Level1 + true MaxSpeed diff --git a/lib/win32/bindevt/bindevt.vcxproj.in b/lib/win32/bindevt/bindevt.vcxproj.in index 38891ecd88f..858bb2fb6d5 100644 --- a/lib/win32/bindevt/bindevt.vcxproj.in +++ b/lib/win32/bindevt/bindevt.vcxproj.in @@ -58,7 +58,8 @@ - Level3 + Level4 + false Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;BINDEVT_EXPORTS;%(PreprocessorDefinitions) ..\include;..\..\..\include;%(AdditionalIncludeDirectories) @@ -85,7 +86,8 @@ - Level3 + Level1 + true MaxSpeed