com php-src: hide clang warnings about unimplemented cli options: win32/build/config.w32

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    6d1fc6cd6f96ca44ceb7c8e85bfd8e3b8de6abc6
Author:    Anatol Belski <[email protected]>         Sun, 2 Apr 2017 17:55:23 +0200
Parents:   0894c22b49267d419f26b38e2aedecfecffe50f1
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=6d1fc6cd6f96ca44ceb7c8e85bfd8e3b8de6abc6

Log:
hide clang warnings about unimplemented cli options

Changed paths:
  M  win32/build/config.w32


Diff:
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index d473b10..ae080a9 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -308,7 +308,8 @@ 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-logical-op-parentheses -Wno-msvc-include -Wno-invalid-source-encoding -Wno-unknown-pragmas \
+		-Wno-unused-command-line-argument");
 	}
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.