From 2fd214c14bab832c498f5ed5b119d725c1297427 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 20 Jun 2017 23:05:37 +0200 Subject: [PATCH] :hammer: adjusted pedantic flags --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 138a85b6..5a232cf0 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ doctest: # -Wno-float-equal: not all comparisons in the tests can be replaced by Approx pedantic_clang: $(MAKE) json_unit CXXFLAGS="\ - -std=c++11 \ + -std=c++11 -Wno-c++98-compat -Wno-c++98-compat-pedantic \ -Werror \ -Weverything \ -Wno-documentation-unknown-command \ @@ -60,7 +60,9 @@ pedantic_clang: -Wno-deprecated-declarations \ -Wno-weak-vtables \ -Wno-range-loop-analysis \ - -Wno-float-equal" + -Wno-float-equal \ + -Wno-switch-enum -Wno-covered-switch-default \ + -Wno-padded" # calling GCC with most warnings pedantic_gcc: