https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7326dc03b65c08e5bb254…
commit 7326dc03b65c08e5bb2548434859bcbd29e76f80
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Fri Apr 20 23:26:39 2018 +0200
Commit: Thomas Faber <18138474+ThFabba(a)users.noreply.github.com>
CommitDate: Thu May 3 08:12:17 2018 +0200
[CMAKE] USE_CLANG_CL: Add "-Wno-parentheses-equality"
Silence some "code style" warnings.
CORE-14306
---
sdk/cmake/msvc.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/cmake/msvc.cmake b/sdk/cmake/msvc.cmake
index 1559677fb4..01d933f73f 100644
--- a/sdk/cmake/msvc.cmake
+++ b/sdk/cmake/msvc.cmake
@@ -97,8 +97,8 @@ endif()
add_compile_flags("/w14115")
if(USE_CLANG_CL)
- add_compile_flags_language("-nostdinc -Wno-multichar -Wno-char-subscripts
-Wno-microsoft-enum-forward-reference -Wno-pragma-pack -Wno-microsoft-anon-tag
-Wno-unknown-pragmas" "C")
- add_compile_flags_language("-nostdinc -Wno-multichar -Wno-char-subscripts
-Wno-microsoft-enum-forward-reference -Wno-pragma-pack -Wno-microsoft-anon-tag
-Wno-unknown-pragmas" "CXX")
+ add_compile_flags_language("-nostdinc -Wno-multichar -Wno-char-subscripts
-Wno-microsoft-enum-forward-reference -Wno-pragma-pack -Wno-microsoft-anon-tag
-Wno-parentheses-equality -Wno-unknown-pragmas" "C")
+ add_compile_flags_language("-nostdinc -Wno-multichar -Wno-char-subscripts
-Wno-microsoft-enum-forward-reference -Wno-pragma-pack -Wno-microsoft-anon-tag
-Wno-parentheses-equality -Wno-unknown-pragmas" "CXX")
endif()
# Debugging