You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If MINIZ_NO_ZLIB_APIS is defined, the prototype for mz_version is skipped but the definition isn’t, leading to the following warning or error in Clang when -Wmissing-prototypes is enabled:
miniz/miniz.c:182:13: error: no previous prototype for function 'mz_version' [-Werror,-Wmissing-prototypes]
const char *mz_version(void)
^
Looks like this can be fixed by moving the following line #ifndef MINIZ_NO_ZLIB_APIS up above this definition.
[I am building the current master, i.e. commit 18795fa, on macOS with Xcode 15.0.]
The text was updated successfully, but these errors were encountered:
If
MINIZ_NO_ZLIB_APIS
is defined, the prototype formz_version
is skipped but the definition isn’t, leading to the following warning or error in Clang when-Wmissing-prototypes
is enabled:Looks like this can be fixed by moving the following line
#ifndef MINIZ_NO_ZLIB_APIS
up above this definition.[I am building the current master, i.e. commit 18795fa, on macOS with Xcode 15.0.]
The text was updated successfully, but these errors were encountered: