facebook / facebook/zstd

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

オープン
#4,624 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
27.9k
フォーク
2.6k
平均マージ
1日 3時間
マージ済み PR(30日)
8

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。