Skip to content
Commit a37d6a4c authored by Limin Tang's avatar Limin Tang Committed by Tim Hall
Browse files

C++20 compatibility fix for regor logging



Logging dependency fmt::format takes fstring as input by default, which is required to
return compile time constant expression when built with C++20 (enforced by C++20 specifier
consteval). To make the logging work with C++20, the string input needs to be converted
to runtime evaluated string expression via fmt::runtime first.

Also fix minor bugs in tflite_model_semantics.cpp that causes build to fail with C++20.

Signed-off-by: Limin Tang's avatarLimin Tang <limintang@meta.com>
parent 6fa0bbad
Loading
Loading
Loading
Pipeline #26398 passed with stages
in 17 minutes and 45 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment