summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-09 09:47:03 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-09 11:29:16 (GMT)
commit6091b92b86554fd2aacaacd126b44f208d482336 (patch)
treede1d0a497f78a9ed528d4e51fc32265a98ee46d9
parentf1d5f23b7f4aa8ceab460df30448bc4f21f74bcc (diff)
Release version 8.0.15+4v8.0.15+4
Disable 'POSIX name for this item is deprecated' warning issued by Clang on Windows
-rw-r--r--libmysqlclient/manifest2
-rw-r--r--libmysqlclient/mysql/buildfile10
2 files changed, 9 insertions, 3 deletions
diff --git a/libmysqlclient/manifest b/libmysqlclient/manifest
index 55b3bb1..8e0e64f 100644
--- a/libmysqlclient/manifest
+++ b/libmysqlclient/manifest
@@ -3,7 +3,7 @@ name: libmysqlclient
# Note: remember to update doc-url below!
#
-version: 8.0.15+3
+version: 8.0.15+4
project: mysql
summary: MySQL C API client library
diff --git a/libmysqlclient/mysql/buildfile b/libmysqlclient/mysql/buildfile
index 85690ae..3aaa9f0 100644
--- a/libmysqlclient/mysql/buildfile
+++ b/libmysqlclient/mysql/buildfile
@@ -15,8 +15,9 @@ windows = ($tclass == 'windows')
msvc_runtime = ($tsys == 'win32-msvc')
-gcc = ($c.class == 'gcc')
-msvc = ($c.class == 'msvc')
+gcc = ($c.class == 'gcc')
+msvc = ($c.class == 'msvc')
+clang_msvc = ($c.id == 'clang' && $msvc_runtime)
# Windows-specific utilities.
#
@@ -200,6 +201,11 @@ else
libmysql/authentication_win/ cc.poptions += -DSECURITY_WIN32
}
+# Disable the 'POSIX name for this item is deprecated' warnings.
+#
+if $clang_msvc
+ cc.coptions += -Wno-deprecated-declarations
+
if $msvc
{
# Disable warnings that pop up with /W3.