diff --git a/include/date/tz.h b/include/date/tz.h index 92dbe37..9c3f8da 100644 --- a/include/date/tz.h +++ b/include/date/tz.h @@ -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