diff --git a/test/enforce-compile-string-test.cc b/test/enforce-compile-string-test.cc index 79a5cf8d28483..bcf826ba261d4 100644 --- a/test/enforce-compile-string-test.cc +++ b/test/enforce-compile-string-test.cc @@ -25,7 +25,9 @@ void test_format_api() { (void)fmt::format(FMT_STRING("{}"), 42); (void)fmt::format(FMT_STRING(L"{}"), 42); +#if !FMT_GCC // Currently will not compile: See https://github.com/fmtlib/fmt/issues/2039 (void)fmt::format(FMT_STRING("noop")); +#endif (void)fmt::to_string(42); (void)fmt::to_wstring(42);