You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've having a compile error while testing the upcoming clang 20 with c++20 (and above).
It looks like #4218, but I could not manage to find a working patch.
Here's a snippet of the output, seems to be an issue with the FMT_STRING(s) macro:
[build] /dev/clang20-fmt/build/Debug/_deps/fmt-src/src/os.cc:176:35: error: call to consteval function 'fmt::basic_format_string<char, const char *>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
[build] 176 | FMT_THROW(system_error(errno, FMT_STRING("cannot open file {}"),
Hi,
I've having a compile error while testing the upcoming clang 20 with c++20 (and above).
It looks like #4218, but I could not manage to find a working patch.
Compiler error:
Here's a snippet of the output, seems to be an issue with the
FMT_STRING(s)
macro:Complete output:
2-CMakeBuild.log
The project (you need clang built from main branch !):
clang20-fmt.zip
The text was updated successfully, but these errors were encountered: