From: Miodrag Milanovic Date: Fri, 13 Mar 2020 16:23:27 +0000 (+0100) Subject: exclude clang from checking X-Git-Tag: working-ls180~754^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=395daf6cedfb62d3a9c6b74b65c80f209d8b6ec5;p=yosys.git exclude clang from checking --- 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