Skip to content

Commit cfd00af

Browse files
committed
Fix warnings on C++98
1 parent 6274401 commit cfd00af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmt/format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ typedef __int64 intmax_t;
261261
// For GCC according to cppreference.com they were introduced in 3.3.
262262
# define FMT_USE_EXTERN_TEMPLATES \
263263
((__clang__ && FMT_USE_VARIADIC_TEMPLATES) || \
264-
FMT_GCC_VERSION >= 303)
264+
(FMT_GCC_VERSION >= 303 && FMT_HAS_GXX_CXX11))
265265
#endif
266266

267267
#ifdef FMT_HEADER_ONLY

0 commit comments

Comments
 (0)