Skip to content

Commit

Permalink
restore ifdef guarding GCC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Gray committed Dec 13, 2020
1 parent 7941829 commit e4459fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/enforce-compile-string-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4459fa

Please sign in to comment.