From 395daf6cedfb62d3a9c6b74b65c80f209d8b6ec5 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 13 Mar 2020 17:23:27 +0100 Subject: [PATCH] exclude clang from checking --- kernel/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/log.h b/kernel/log.h index 61cc246e7..cd0e8185c 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -26,7 +26,7 @@ // In GCC 4.8 std::regex is not working correctlty, in order to make features // using regular expressions to work replacement regex library is used -#if defined(__GNUC__) && ( __GNUC__ == 4 && __GNUC_MINOR__ <= 8) +#if defined(__GNUC__) && !defined( __clang__) && ( __GNUC__ == 4 && __GNUC_MINOR__ <= 8) #include #define YS_REGEX_TYPE boost::xpressive::sregex #define YS_REGEX_NS boost::xpressive -- 2.30.2