mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-27 12:30:06 +00:00
Fixed GCC version test
This commit is contained in:
parent
9ff3b6af2e
commit
47268ecd80
@ -51,8 +51,9 @@
|
||||
# define FMT_ICC_VERSION 0
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 406) || \
|
||||
FMT_CLANG_VERSION
|
||||
#include "core.h"
|
||||
|
||||
#if FMT_GCC_VERSION >= 406 || FMT_CLANG_VERSION
|
||||
# pragma GCC diagnostic push
|
||||
|
||||
// Disable the warning about declaration shadowing because it affects too
|
||||
@ -64,8 +65,6 @@
|
||||
# pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#endif
|
||||
|
||||
#include "core.h"
|
||||
|
||||
#ifdef _SECURE_SCL
|
||||
# define FMT_SECURE_SCL _SECURE_SCL
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user