Closed MAJigsaw77 closed 2 weeks ago
Once hxcpp
starts using zlib
1.3 this change can be removed as mentioned here
This flag itself causes warnings when clang is older (<15 ?). This could be countered with <compilerflag value="-Wno-unknown-warning-option" unless="MSVC_VER" />
It may also need <compilerflag value="-Wno-unknown-warning" unless="MSVC_VER" />
for gcc. Not a bad solution, but upgrading zlib may be better.
This flag itself causes warnings when clang is older (<15 ?). This could be countered with
<compilerflag value="-Wno-unknown-warning-option" unless="MSVC_VER" />
It may also need<compilerflag value="-Wno-unknown-warning" unless="MSVC_VER" />
for gcc. Not a bad solution, but upgrading zlib may be better.
I'll add <compilerflag value="-Wno-unknown-warning" unless="MSVC_VER" />
in any case.
We will see how this goes for now, and think about zlib updates. Thanks!
This PR adds the
-Wno-deprecated-non-prototype
compiler flag to the Zlib build process for non-MSVC compilers. The purpose of this change is to remove warnings related to deprecated non-prototype function definitions.