Skip to content

enum class is treated as int under gcc/clang #1424

@ShaderManager

Description

@ShaderManager

https://godbolt.org/z/VZUd--

fmtlib v6.0.0:
fmtlib under clang/gcc formats enum class as int when there is no overloaded operator << for this type. MSVC emits error don't know how to format the type
fmtlib v5.3.0:
all major compilers (clang, gcc, msvc) emit error don't know how to format the type

Is there some regression between v5.3.0 and v6.0.0 related to this issue?

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