From cfd00af37a0b527f55a9051f8742a0a8d0086fbd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 6 Nov 2016 12:58:49 -0800 Subject: [PATCH] Fix warnings on C++98 --- fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt/format.h b/fmt/format.h index e32bc175..182d496a 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -261,7 +261,7 @@ typedef __int64 intmax_t; // For GCC according to cppreference.com they were introduced in 3.3. # define FMT_USE_EXTERN_TEMPLATES \ ((__clang__ && FMT_USE_VARIADIC_TEMPLATES) || \ - FMT_GCC_VERSION >= 303) + (FMT_GCC_VERSION >= 303 && FMT_HAS_GXX_CXX11)) #endif #ifdef FMT_HEADER_ONLY