Commit 1dc4414f by Yuly Novikov Committed by Commit Bot

Suppress self-assign warning in angle_deqp_decpp and angle_deqp_libtester

Compiling dEQP with clang started failing after clang roll https://chromium-review.googlesource.com/1012028 BUG=chromium:832753 Change-Id: I532872a68c3c8d916c6bfd2b5370501746076193 Reviewed-on: https://chromium-review.googlesource.com/1012382Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent a912046d
...@@ -577,6 +577,13 @@ if (build_angle_deqp_tests) { ...@@ -577,6 +577,13 @@ if (build_angle_deqp_tests) {
"//build/config/compiler:no_chromium_code", "//build/config/compiler:no_chromium_code",
angle_root + ":internal_config", angle_root + ":internal_config",
] ]
if (is_clang) {
cflags_cc = [
# Supresses self assign warnings in SharedPtr_selfTest
# Can be removed if dEQP or clang are fixed
"-Wno-self-assign",
]
}
sources = rebase_path(deqp_gypi.deqp_libtester_decpp_sources, ".", "../..") sources = rebase_path(deqp_gypi.deqp_libtester_decpp_sources, ".", "../..")
} }
...@@ -589,6 +596,10 @@ if (build_angle_deqp_tests) { ...@@ -589,6 +596,10 @@ if (build_angle_deqp_tests) {
cflags_cc = [ cflags_cc = [
"-Wno-delete-non-virtual-dtor", "-Wno-delete-non-virtual-dtor",
"-Wno-deprecated", "-Wno-deprecated",
# Supresses self assign warning in setLumSat
# Can be removed if dEQP or clang are fixed
"-Wno-self-assign",
] ]
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment