Commit 3d0475ef authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '984e50e7'

* commit '984e50e7':
  build: Add -Wpedantic and -Wextra to extra warning flags
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents ec10c543 984e50e7
......@@ -6125,8 +6125,12 @@ check_cflags -Wmissing-prototypes
check_cflags -Wno-pointer-to-int-cast
check_cflags -Wstrict-prototypes
check_cflags -Wempty-body
enabled extra_warnings && check_cflags -Winline
enabled extra_warnings && check_cflags -Wcast-qual
if enabled extra_warnings; then
check_cflags -Wcast-qual
check_cflags -Wextra
check_cflags -Wpedantic
fi
check_disable_warning(){
warning_flag=-W${1#-Wno-}
......
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