From d09971da97fa34ee533ac881f7d42cf923cadcba Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 20 Jan 2019 17:58:46 +1100 Subject: [PATCH] warnings: disable strict-overflow warnings This makes view construction with sizes more tolerable. --- nc_warnings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_warnings.cmake b/nc_warnings.cmake index c86827c..f758343 100644 --- a/nc_warnings.cmake +++ b/nc_warnings.cmake @@ -40,7 +40,7 @@ append_compile_flag(-Wshadow) append_compile_flag(-Wsign-compare) append_compile_flag(-Wsign-promo) append_compile_flag(-Wstrict-aliasing) -append_compile_flag(-Wstrict-overflow) +#append_compile_flag(-Wstrict-overflow) append_compile_flag(-Wtype-limits) append_compile_flag(-Wunused-but-set-variable) append_compile_flag(-Wunused-parameter)