Skip to content

Commit

Permalink
🔨 adjusted pedantic flags
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jun 20, 2017
1 parent e769530 commit 2fd214c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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:
Expand Down

0 comments on commit 2fd214c

Please sign in to comment.