From a5db3aecec580bc78b6c01c118f2628676769b69 Mon Sep 17 00:00:00 2001 From: Konstantin Goncharik <752322+botanegg@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:27:42 +0700 Subject: [PATCH] fix: OPERATOR_LITERAL Wdeprecated-literal-operator (#890) --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/date/date.h b/include/date/date.h index 53c4d1c..ded0ba2 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -84,7 +84,7 @@ # pragma warning(disable : 4127) #endif -#if (defined(__GNUC__) && __GNUC__ < 5) +#if (defined(__GNUC__) && __GNUC__ < 5) && !defined(__clang__) && !defined(_MSC_VER) # define OPERATOR_LITERAL(suffix) operator"" _##suffix #else # define OPERATOR_LITERAL(suffix) operator""_##suffix