Skip to content
Snippets Groups Projects
Verified Commit 2c92057d authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Activate more compiler warnings with -Wextra

However, disable -Wunused-parameter which creates too many false positives in
polymorphic methods.

Also, only disable -Wdangling-else instead of the whole of -Wparentheses.
parent 27952078
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ esac
# Use C++ for testing headers
AC_LANG([C++])
AM_CXXFLAGS="-std=gnu++20 -Wall -Wno-parentheses -Wold-style-cast"
AM_CXXFLAGS="-std=gnu++20 -Wall -Wno-dangling-else -Wextra -Wno-unused-parameter -Wold-style-cast"
AC_SUBST([AM_CXXFLAGS])
# If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment