aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql/buildfile13
1 files changed, 5 insertions, 8 deletions
diff --git a/mysql/buildfile b/mysql/buildfile
index 5759d68..c050b18 100644
--- a/mysql/buildfile
+++ b/mysql/buildfile
@@ -188,15 +188,12 @@ if ($tsys == 'win32-msvc')
}
else
{
- # Disable warnings that pop up with -W -Wall.
+ # Disable warnings that pop up with -Wall -Wextra. Upstream doesn't seem
+ # to care about these and it is not easy to disable specific warnings in
+ # a way that works across compilers/version (some -Wno-* options are only
+ # recognized in newer versions).
#
- c.coptions += -Wno-shift-negative-value -Wno-unused-const-variable \
- -Wno-unused-variable -Wno-unused-but-set-variable \
- -Wno-unused-function -Wno-unused-value -Wno-unused-parameter \
- -Wno-maybe-uninitialized -Wno-varargs -Wno-format-extra-args \
- -Wno-implicit-fallthrough -Wno-sign-compare -Wno-address \
- -Wno-pointer-sign -Wno-incompatible-pointer-types \
- -Wno-format -Wno-unknown-warning-option
+ c.coptions += -Wno-all -Wno-extra
}
if ($tclass != 'windows')