restore ifdef guarding GCC bug
This commit is contained in:
parent
8e575bd507
commit
f2a5a0f27e
@ -25,7 +25,10 @@
|
|||||||
void test_format_api() {
|
void test_format_api() {
|
||||||
(void)fmt::format(FMT_STRING("{}"), 42);
|
(void)fmt::format(FMT_STRING("{}"), 42);
|
||||||
(void)fmt::format(FMT_STRING(L"{}"), 42);
|
(void)fmt::format(FMT_STRING(L"{}"), 42);
|
||||||
|
#if !FMT_GCC_VERSION // Currently will not compile: See
|
||||||
|
// https://github.com/fmtlib/fmt/issues/2039
|
||||||
(void)fmt::format(FMT_STRING("noop"));
|
(void)fmt::format(FMT_STRING("noop"));
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)fmt::to_string(42);
|
(void)fmt::to_string(42);
|
||||||
(void)fmt::to_wstring(42);
|
(void)fmt::to_wstring(42);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user