Skip to content

MSVC linking issue with std.zlib #306

@CyberShadow

Description

@CyberShadow
import etc.c.zlib;
void main() { deflateInit(null, 0); }

Output:

phobos-ldc.lib(inftrees.obj) : error LNK2019: unresolved external symbol __report_rangecheckfailure referenced in function inflate_table
test2.exe : fatal error LNK1120: 1 unresolved externals

(Using LDC.zip Kai posted here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions