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:
parent
7078ab0af9
commit
e86370f894
3 changed files with 12 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue