diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-21 21:11:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-21 21:40:40 +0300 |
commit | be0be2c150ba1f425631fc1b04843ac6f2316592 (patch) | |
tree | 446dfb557fe4bc038bc81d5ded17e22f1ead6569 /libz/tests/minigzip/buildfile | |
parent | 40fdb7370c946426d226c2c33a28d9b79f9dee4e (diff) |
Release version 1.2.1200+4HEADv1.2.1200+4master
Suppress -Wdeprecated-non-prototype Clang 15 warning on MacOS.
Diffstat (limited to 'libz/tests/minigzip/buildfile')
-rw-r--r-- | libz/tests/minigzip/buildfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libz/tests/minigzip/buildfile b/libz/tests/minigzip/buildfile index 9419fa1..c58e902 100644 --- a/libz/tests/minigzip/buildfile +++ b/libz/tests/minigzip/buildfile @@ -7,13 +7,15 @@ exe{driver}: {h c}{*} $libs testscript # Disable MSVC warnings that pop up with /W3 and Clang warnings. # +# @@ TMP: try to re-enable on next release. +# if ($c.class == 'msvc') c.coptions += /wd4267 /wd4996 -elif ($c.id == 'clang') +else { - if ($c.version.major >= 15) + if ($c.id.type == 'clang' && $c.version.major >= 15) c.coptions += -Wno-deprecated-non-prototype - if ($c.target.system == 'win32-msvc') + if ($c.id == 'clang' && $c.target.system == 'win32-msvc') c.coptions += -Wno-deprecated-declarations } |