Commit f0edfdef authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

activate -Wpedantic

Fixes #214.

* m4/gccwarn.m4: Add -Wpedantic.
parent d1754123
...@@ -41,7 +41,8 @@ EOF ...@@ -41,7 +41,8 @@ EOF
Wlogical-op \ Wlogical-op \
Wduplicated-cond \ Wduplicated-cond \
Wnull-dereference \ Wnull-dereference \
Wsuggest-override Wsuggest-override \
Wpedantic
do do
CXXFLAGS="$cf_save_CXXFLAGS $ac_cv_prog_gxx_warn_flags -$cf_opt" CXXFLAGS="$cf_save_CXXFLAGS $ac_cv_prog_gxx_warn_flags -$cf_opt"
if AC_TRY_EVAL(ac_compile); then if AC_TRY_EVAL(ac_compile); then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment