Skip to content

Commit

Permalink
Fix deprecated non-prototype warnings in Zlib for non-MSVC compilers. (
Browse files Browse the repository at this point in the history
…#1144)

* Update Build.xml

* Update Build.xml

* Oops, forgot about this one
  • Loading branch information
MAJigsaw77 authored Aug 28, 2024
1 parent 01ef3fa commit 9c8cc14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hx/libs/zlib/Build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<compilerflag value="-DSTDC" unless="windows" />
<compilerflag value="-DHAVE_UNISTD_H" unless="windows" />

<compilerflag value="-Wno-unknown-warning" unless="MSVC_VER" />
<compilerflag value="-Wno-unknown-warning-option" unless="MSVC_VER" />
<compilerflag value="-Wno-deprecated-non-prototype" unless="MSVC_VER" />

<file name="ZLib.cpp"/>

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

0 comments on commit 9c8cc14

Please sign in to comment.