diff options
author | Anatol Belski <ab@php.net> | 2018-08-01 18:18:37 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-08-01 18:18:37 +0200 |
commit | d53978bd59d45c3e850418e91c2e9ebc11491bf3 (patch) | |
tree | 272758200c502aa12fafbe433a508ce1a311b5b7 /win32/build | |
parent | 642bb9f3769459f2b558112bd6014729176d57a5 (diff) | |
download | php-git-d53978bd59d45c3e850418e91c2e9ebc11491bf3.tar.gz |
Suppress more irrelevant clang warnings
Diffstat (limited to 'win32/build')
-rw-r--r-- | win32/build/config.w32 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 1075e66048..19ab8421ae 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -313,9 +313,9 @@ if (PHP_SECURITY_FLAGS == "yes") { if (CLANG_TOOLSET) { ARG_WITH("uncritical-warn-choke", "Disable some uncritical warnings", "yes"); if (PHP_UNCRITICAL_WARN_CHOKE != "no") { - ADD_FLAG("CFLAGS", "-Wno-ignored-attributes -Wno-deprecated-declarations -Wno-missing-braces \ - -Wno-logical-op-parentheses -Wno-msvc-include -Wno-invalid-source-encoding -Wno-unknown-pragmas \ - -Wno-unused-command-line-argument"); + ADD_FLAG("CFLAGS", "-Wno-ignored-attributes -Wno-deprecated-declarations -Wno-missing-braces " + + "-Wno-logical-op-parentheses -Wno-msvc-include -Wno-invalid-source-encoding -Wno-unknown-pragmas " + + "-Wno-unused-command-line-argument -Wno-unused-function -Wno-ignored-pragma-optimize"); } ARG_ENABLE("sanitizer", "Enable address sanitizer extension", "no"); |