forked from HowardHinnant/date
Silence clang warning
This commit is contained in:
@@ -58,9 +58,18 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# pragma clang diagnostic push
|
||||||
|
# pragma clang diagnostic ignored "-Wconstant-logical-operand"
|
||||||
|
#endif
|
||||||
|
|
||||||
static_assert(!(USE_OS_TZDB && HAS_REMOTE_API),
|
static_assert(!(USE_OS_TZDB && HAS_REMOTE_API),
|
||||||
"USE_OS_TZDB and HAS_REMOTE_API can not be used together");
|
"USE_OS_TZDB and HAS_REMOTE_API can not be used together");
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef AUTO_DOWNLOAD
|
#ifndef AUTO_DOWNLOAD
|
||||||
# define AUTO_DOWNLOAD HAS_REMOTE_API
|
# define AUTO_DOWNLOAD HAS_REMOTE_API
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user