From 3f3f1e070aa90e37c4159cf5c55bc05effaf1ec2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 4 Feb 2024 18:48:22 +0200 Subject: [PATCH] Disable __VA_OPT__ for Clang 8 as well --- include/boost/preprocessor/variadic/has_opt.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/preprocessor/variadic/has_opt.hpp b/include/boost/preprocessor/variadic/has_opt.hpp index 7054e94..bb40e37 100644 --- a/include/boost/preprocessor/variadic/has_opt.hpp +++ b/include/boost/preprocessor/variadic/has_opt.hpp @@ -19,6 +19,8 @@ # if defined(__cplusplus) && __cplusplus > 201703L # if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 8 && __GNUC__ < 10 # define BOOST_PP_VARIADIC_HAS_OPT() 0 +# elif defined(__clang__) && __clang_major__ < 9 +# define BOOST_PP_VARIADIC_HAS_OPT() 0 # else # include # define BOOST_PP_VARIADIC_HAS_OPT() \