diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-09 12:47:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-09 14:29:16 +0300 |
commit | 6091b92b86554fd2aacaacd126b44f208d482336 (patch) | |
tree | de1d0a497f78a9ed528d4e51fc32265a98ee46d9 /libmysqlclient/mysql/buildfile | |
parent | f1d5f23b7f4aa8ceab460df30448bc4f21f74bcc (diff) |
Release version 8.0.15+4v8.0.15+4
Disable 'POSIX name for this item is deprecated' warning issued by Clang on Windows
Diffstat (limited to 'libmysqlclient/mysql/buildfile')
-rw-r--r-- | libmysqlclient/mysql/buildfile | 10 |
1 files changed, 8 insertions, 2 deletions
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. |