Skip to content

FMT_USE_FCNTL in os.h only defines fmt::output_file for non-windows OS #2277

@zcream

Description

@zcream

The current implementation of fmt::output_file is only for non-Windows OS when FMT_USE_FCNTL is 1.
This is a bad design philosophy leading to code that is not-compatible across OS'es. As a resolution, either fmt::output_file and related methods should be defined for Windows or they should be removed to maintain OS-agnostic behavior.

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