Skip to content

fseeko/ftello not available in MSVC (used by fuzzy.c) #39

@memcorrupt

Description

@memcorrupt

MSVC does not have fseeko/ftello, causing compilation of the unmodified fuzzy.c file to fail on VS2022 (17.9.34728.123).

Relevant log entries (irrelevant paths stripped):

.\ssdeep\fuzzy.c(572,10): warning C4013: 'ftello' undefined; assuming extern returning int
.\ssdeep\fuzzy.c(575,7): warning C4013: 'fseeko' undefined; assuming extern returning int
fuzzy.obj : error LNK2001: unresolved external symbol fseeko
fuzzy.obj : error LNK2001: unresolved external symbol ftello
fatal error LNK1120: 2 unresolved externals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions