Turn on some new warnings from GCC 6.0

* m4/gccwarn.m4: Add the new warnings.
* spot/ta/taexplicit.cc, spot/ta/taproduct.cc: Add missing asserts.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-16 16:04:03 +01:00
parent 7078ab0af9
commit e86370f894
3 changed files with 12 additions and 6 deletions

View file

@ -35,7 +35,11 @@ EOF
Wdocumentation \
Wmissing-declarations \
Wnoexcept \
Woverloaded-virtual
Woverloaded-virtual \
Wmisleading-indentation \
Wlogical-op \
Wduplicated-cond \
Wnull-dereference
do
CXXFLAGS="$cf_save_CXXFLAGS $ac_cv_prog_gxx_warn_flags -$cf_opt"
if AC_TRY_EVAL(ac_compile); then