stachenov / quazip

Qt/C++ wrapper over minizip
Other
580 stars 233 forks source link

minizip_crypt: fix warning #174

Closed Fsu0413 closed 8 months ago

Fsu0413 commented 1 year ago
In file included from ../../../RMEssentials/src/quazip/src/zip.c:199:
../../../RMEssentials/src/quazip/src/minizip_crypt.h:93:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting)
           ^
Neustradamus commented 10 months ago

@stachenov: Have you seen this PR?

cen1 commented 8 months ago

Instead of merging this one fix we should probably just sync with upstream which has tackled this problem in the time since the MR was opened. Opened https://github.com/stachenov/quazip/issues/188 to track