Skip to content

[clang-cl][Windows] consteval compilation error occurs when compiling the open source third-party library fmt #141482

Open
@jiangxinhaha

Description

@jiangxinhaha

Clang version: 20.1.5

When compiling the open source third-party library fmt, support for c++20 was set, but consteval compilation errors still occurred. The Clang used is already the latest version。

1,The following is the compilation error code snippet:

Image Image Image Image Image

2,The error message:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatC++20 std::format or std::print, and anything related to themquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions