facebook / facebook/zstd

ZSTD CDict compression doesn't seem to work when build using MSVC on release mode

Đang mở
#4,624 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
27.9k
Fork
2.6k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.