mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 02:28:15 +00:00
fmt::internal::is_streamable works on gcc 4.7
i test the the code on https://gcc.godbolt.org/, and only gcc 4.7 works, gcc 4.6 fail to complie
This commit is contained in:
parent
7a4ac9ec9c
commit
d49f206183
@ -281,7 +281,7 @@ typedef __int64 intmax_t;
|
|||||||
// http://en.cppreference.com/w/cpp/compiler_support
|
// http://en.cppreference.com/w/cpp/compiler_support
|
||||||
#define FMT_HAS_DECLTYPE_INCOMPLETE_RETURN_TYPES \
|
#define FMT_HAS_DECLTYPE_INCOMPLETE_RETURN_TYPES \
|
||||||
(FMT_HAS_FEATURE(cxx_decltype_incomplete_return_types) || \
|
(FMT_HAS_FEATURE(cxx_decltype_incomplete_return_types) || \
|
||||||
(FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) || \
|
(FMT_GCC_VERSION >= 407 && FMT_HAS_GXX_CXX11) || \
|
||||||
FMT_MSC_VER >= 1900 || \
|
FMT_MSC_VER >= 1900 || \
|
||||||
FMT_ICC_VERSION >= 1200)
|
FMT_ICC_VERSION >= 1200)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user