tfussell / miniz-cpp

A cross-platform header-only C++14 library for reading and writing ZIP files
MIT License
229 stars 77 forks source link

Type mismatch between mz_uint64 and std::uint64_t #12

Open Eisenwave opened 4 years ago

Eisenwave commented 4 years ago

In line 518, mz_uint64_t is defined as unsigned long long. However, std::uint64_t on my platform (Linux 64-bit Debian 11) is defined as unsigned long.

This leads to errors on multiple lines.

SanPen commented 2 years ago

I confirm the error, and when I correct the type, I get the error multiple definition of almost everything. Not sure what am I doing wrong there

samfayad commented 11 months ago

Same thing happens over here on Ubuntu 22.04. Anyone found a solution?