From ec14c17ae66caed11880031b049efb39c4934f40 Mon Sep 17 00:00:00 2001 From: Ted Stein Date: Thu, 7 Sep 2017 12:01:13 -0700 Subject: [PATCH] c++ clang: Compile -Wno-null-dereference This is a mitigation for issue https://github.com/Microsoft/bond/issues/536. A proper fix is still needed. Closes https://github.com/Microsoft/bond/pull/598 --- cmake/Config.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Config.cmake b/cmake/Config.cmake index 8788d41d..b51c76a6 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -149,6 +149,7 @@ cxx_add_compile_options(Clang --std=c++11 -Wall -Werror + -Wno-null-dereference -Wno-unknown-warning-option -Wno-unused-local-typedefs) @@ -158,6 +159,7 @@ cxx_add_compile_options(AppleClang --std=c++11 -Wall -Werror + -Wno-null-dereference -Wno-unknown-warning-option -Wno-unused-local-typedefs)