Skip to content

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

@jungledmnc

Description

@jungledmnc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions