I'm going nonstandard, I know... But, I build ZSTD (and other libs) by my own commandline tool, that basically just takes all source codes and compiles them without any further defines or anything. In DEBUG modeeverything works just fine - streaming and dictionary based (ZSTD_compress_usingCDict..) works as expected.
BUT when I compile it using CL or Clang-CL 2026 in release mode, calling ZSTD_compress_usingCDict and then calling ZSTD_decompress_usingDDict (different context of course) ends up saying "Invalid compressed frame.".
Any ideas? Perhaps some defines need to be added?
I'm going nonstandard, I know... But, I build ZSTD (and other libs) by my own commandline tool, that basically just takes all source codes and compiles them without any further defines or anything. In DEBUG modeeverything works just fine - streaming and dictionary based (ZSTD_compress_usingCDict..) works as expected.
BUT when I compile it using CL or Clang-CL 2026 in release mode, calling ZSTD_compress_usingCDict and then calling ZSTD_decompress_usingDDict (different context of course) ends up saying "Invalid compressed frame.".
Any ideas? Perhaps some defines need to be added?