richgel999 / miniz

miniz: Single C source file zlib-replacement library, originally from code.google.com/p/miniz
MIT License
2.16k stars 321 forks source link

Miniz Errors in xtr1common #284

Open Blqtent opened 1 year ago

Blqtent commented 1 year ago

I get error C2894: templates cannot be declared to have 'C' linkage

When I try and use miniz in a project. Is there a reason why? I can't give source code right now but I can when I am at my pc I am using visual studio 2022 with a c++ project.

I tried changing the extensions to .cpp and .hpp but that did not work.