Silence clang warning

This commit is contained in:
Howard Hinnant 2017-10-30 13:48:09 -04:00
parent fa6529a2fc
commit 3a5e8c9384

View File

@ -58,9 +58,18 @@
# endif
#endif
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wconstant-logical-operand"
#endif
static_assert(!(USE_OS_TZDB && HAS_REMOTE_API),
"USE_OS_TZDB and HAS_REMOTE_API can not be used together");
#ifdef __clang__
# pragma clang diagnostic pop
#endif
#ifndef AUTO_DOWNLOAD
# define AUTO_DOWNLOAD HAS_REMOTE_API
#endif