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

[buddy] add -Wno-gnu if supported

* m4/gccwarns.m4: Add -Wno-gnu to workaround a diagnostic from
clang 3.9.1 on arch Linux.  clang was complaining whtat assert()
is using a GNU extension.
parent e851e0f8
...@@ -41,6 +41,7 @@ EOF ...@@ -41,6 +41,7 @@ EOF
Wnull-dereference \ Wnull-dereference \
Wsuggest-override \ Wsuggest-override \
Wpedantic \ Wpedantic \
Wno-gnu \
Wno-long-long Wno-long-long
do do
CFLAGS="$cf_save_CFLAGS $ac_cv_prog_gcc_warn_flags -$cf_opt" CFLAGS="$cf_save_CFLAGS $ac_cv_prog_gcc_warn_flags -$cf_opt"
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