From 929556d67788b38e37ed8f9d983f6df24f3ce647 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 13 Jun 2017 14:10:31 +1000 Subject: [PATCH] warnings: temporarily remove fallthrough warning we use fallthrough fairly liberally in some bitwise and crypto codepaths, and keeping this warning message (particularly in debug builds where we use Werror) is painful. --- nc_warnings.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nc_warnings.cmake b/nc_warnings.cmake index a9d6dd7..bb4c8c0 100644 --- a/nc_warnings.cmake +++ b/nc_warnings.cmake @@ -62,6 +62,8 @@ append_compile_flag(-Walloca) append_compile_flag(-Wnonnull) append_compile_flag(-Waligned-new) +append_compile_flag(-Wno-implicit-fallthrough) + # clang 3.7.1 warnings append_compile_flag(-Wshorten-64-to-32) append_compile_flag(-Wdeprecated)