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 82c47d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/enforce-compile-string-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
void test_format_api() {
(void)fmt::format(FMT_STRING("{}"), 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"));
#endif

(void)fmt::to_string(42);
(void)fmt::to_wstring(42);
Expand Down

0 comments on commit 82c47d3

Please sign in to comment.