Skip to content

\fmt\include\fmt/format.h(1698): warning C4127 #4232

@UnrealKaraulov

Description

@UnrealKaraulov
3>.\..\fmt\include\fmt/format.h(1698): warning C4127: условное выражение является константой (компилируется исходный файл .\..\src\editor\Renderer.cpp)
3>.\..\fmt\include\fmt/format.h(1698): note: Попробуйте использовать инструкцию "if constexpr" (компилируется исходный файл .\..\src\editor\Renderer.cpp)
3>.\..\fmt\include\fmt/format.h(1721): warning C4127: условное выражение является константой (компилируется исходный файл .\..\src\editor\Renderer.cpp)
3>.\..\fmt\include\fmt/format.h(1721): note: Попробуйте использовать инструкцию "if constexpr" (компилируется исходный файл .\..\src\editor\Renderer.cpp)
3>.\..\fmt\include\fmt/format.h(1698): warning C4127: условное выражение является константой (компилируется исходный файл .\..\src\editor\Gui.cpp)
3>.\..\fmt\include\fmt/format.h(1698): note: Попробуйте использовать инструкцию "if constexpr" (компилируется исходный файл .\..\src\editor\Gui.cpp)
3>.\..\fmt\include\fmt/format.h(1721): warning C4127: условное выражение является константой (компилируется исходный файл .\..\src\editor\Gui.cpp)
3>.\..\fmt\include\fmt/format.h(1721): note: Попробуйте использовать инструкцию "if constexpr" (компилируется исходный файл .\..\src\editor\Gui.cpp)

How to fix this compile errors in fmtlib?

Visual Studio 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions