Skip to content

Commit 05b5e3a

Browse files
authored
Remove unnecessary zlib warning flags (#1243)
These were used to suppress warnings in zlib 1.2, but now that we are on zlib 1.3 they are no longer necessary. In fact, they cause warnings with some compilers so it's better to remove them.
1 parent af8afd6 commit 05b5e3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hx/libs/zlib/Build.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
<compilerflag value="-DSTDC" unless="windows" />
1414
<compilerflag value="-DHAVE_UNISTD_H" unless="windows" />
1515

16-
<compilerflag value="-Wno-unknown-warning" unless="MSVC_VER" />
17-
<compilerflag value="-Wno-unknown-warning-option" unless="MSVC_VER" />
18-
<compilerflag value="-Wno-deprecated-non-prototype" unless="MSVC_VER" />
19-
2016
<file name="ZLib.cpp"/>
2117

2218
<!-- HXCPP_LINK_NO_ZLIB may be set too late, so use filterout as well. -->

0 commit comments

Comments
 (0)