aboutsummaryrefslogtreecommitdiff
path: root/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-24 14:59:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-24 14:59:55 +0200
commitb0a2e74e0a069c14677a80c13ae122ea87a9b24b (patch)
tree555ff0c33d4a7cb6be904e13c03e1333b2cd2cfe /mysql
parent980018260b47ade0a6ded72a15f25d189d17a155 (diff)
Disable all warnings
Diffstat (limited to 'mysql')
-rw-r--r--mysql/buildfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/mysql/buildfile b/mysql/buildfile
index c050b18..0144266 100644
--- a/mysql/buildfile
+++ b/mysql/buildfile
@@ -188,12 +188,13 @@ if ($tsys == 'win32-msvc')
}
else
{
- # 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).
+ # Disable all warnings. 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). Note that we tried -Wno-all -Wno-extra but that wasn't
+ # sufficient.
#
- c.coptions += -Wno-all -Wno-extra
+ c.coptions += -w
}
if ($tclass != 'windows')