aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-03-29 23:06:15 -0400
committerJack Lloyd <[email protected]>2019-03-29 23:06:15 -0400
commit2d4958589a27e147627aa86aed480101cdf7682a (patch)
treeeace6fee897650cb6a677cdcb88ea8f1f0832477
parent66c884ba31394b1040fb7f6ab76272f9d904f817 (diff)
Make Clang unused-lambda-capture a non-error
Unfortuantely we are stuck with code that triggers this due to bugs in MSVC
-rw-r--r--src/build-data/cc/clang.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 0721eb87a..c0ad6e483 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -5,7 +5,7 @@ binary_name clang++
lang_flags "-std=c++11 -D_REENTRANT"
warning_flags "-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual"
-maintainer_warning_flags "-Wunreachable-code -Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code"
+maintainer_warning_flags "-Wunreachable-code -Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code -Wno-error=unused-lambda-capture"
optimization_flags "-O3"
sanitizer_optimization_flags "-O1 -fno-optimize-sibling-calls -fno-omit-frame-pointer"