Skip to content

[BUG] char8_t/u8string support broken since 2.9 #4277

Closed
@VemundH

Description

@VemundH

#3521 broke support as __cpp_lib_char8_t is only available after including standard header <version> or one of the other specified by the standard. It actually works for MSVC debug builds due to #3497.

My workaround is to include <version> before including pybind11.h

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