Skip to content

Unused function warnings during mimalloc build on FREEBSD#111906

@furkanonder

Description

@furkanonder

Bug report

Bug description:

cc-pthread-c-fno-strict-overflow-Wsign-compare-g-Og-Wall-O2-pipe-std=c11-Wextra-Wno-unused-parameter-Wno-missing-field-initializers-Wstrict-prototypes-Werror=implicit-function-declaration-fvisibility=hidden-I./Include/internal-I./Include/internal/mimalloc-I. -I./Include-DPy_BUILD_CORE-oObjects/rangeobject.oObjects/rangeobject.c---Objects/obmalloc.o---InfileincludedfromObjects/obmalloc.c:15: InfileincludedfromObjects/mimalloc/static.c:37: InfileincludedfromObjects/mimalloc/prim/prim.c:22: Objects/mimalloc/prim/unix/prim.c:66:12: warning: unusedfunction 'mi_prim_open' [-Wunused-function] staticintmi_prim_open(constchar*fpath, intopen_flags){^ Objects/mimalloc/prim/unix/prim.c:69:16: warning: unusedfunction'mi_prim_read' [-Wunused-function] staticssize_tmi_prim_read(intfd, void*buf, size_tbufsize){^ Objects/mimalloc/prim/unix/prim.c:72:12: warning: unusedfunction'mi_prim_close' [-Wunused-function] staticintmi_prim_close(intfd){^ Objects/mimalloc/prim/unix/prim.c:75:12: warning: unusedfunction'mi_prim_access' [-Wunused-function] staticintmi_prim_access(constchar*fpath, intmode){^ ---Objects/setobject.o---

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-freebsdbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions