diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-24 13:32:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-24 13:32:41 +0200 |
commit | 933da9460490d6415e174bf324888eafc77b012e (patch) | |
tree | 329ea8a7f399e5a410ec638ad5843dc6b50ab8c6 /mysql | |
parent | 43d743e75b7b747341b9a5c36a933b490548bebb (diff) |
Fix warning issue
Diffstat (limited to 'mysql')
-rw-r--r-- | mysql/buildfile | 13 |
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') |