🔨 adjusted pedantic flags

This commit is contained in:
Niels Lohmann 2017-06-20 23:05:37 +02:00
parent e7695306f1
commit 2fd214c14b
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -51,7 +51,7 @@ doctest:
# -Wno-float-equal: not all comparisons in the tests can be replaced by Approx # -Wno-float-equal: not all comparisons in the tests can be replaced by Approx
pedantic_clang: pedantic_clang:
$(MAKE) json_unit CXXFLAGS="\ $(MAKE) json_unit CXXFLAGS="\
-std=c++11 \ -std=c++11 -Wno-c++98-compat -Wno-c++98-compat-pedantic \
-Werror \ -Werror \
-Weverything \ -Weverything \
-Wno-documentation-unknown-command \ -Wno-documentation-unknown-command \
@ -60,7 +60,9 @@ pedantic_clang:
-Wno-deprecated-declarations \ -Wno-deprecated-declarations \
-Wno-weak-vtables \ -Wno-weak-vtables \
-Wno-range-loop-analysis \ -Wno-range-loop-analysis \
-Wno-float-equal" -Wno-float-equal \
-Wno-switch-enum -Wno-covered-switch-default \
-Wno-padded"
# calling GCC with most warnings # calling GCC with most warnings
pedantic_gcc: pedantic_gcc: