From 1ecdc1a3bb9321be52854990569864eb1b0a64ef Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 22 Mar 2018 16:24:36 -0700 Subject: [PATCH] Fix compilation on gcc 4.4 (#692) --- fmt/format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fmt/format.h b/fmt/format.h index a2a3b546..e6cd4a61 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -4090,7 +4090,8 @@ ArgJoin join(It first, It last, const BasicCStringRef& sep return ArgJoin(first, last, sep); } -#if FMT_HAS_GXX_CXX11 +#if FMT_HAS_GXX_CXX11 && \ + (!FMT_GCC_VERSION || FMT_GCC_VERSION >= 405 || __clang__) template auto join(const Range& range, const BasicCStringRef& sep) -> ArgJoin {