diff --git a/ql/qldefines.hpp.cfg b/ql/qldefines.hpp.cfg index 0c67b3918d..221e129b2a 100644 --- a/ql/qldefines.hpp.cfg +++ b/ql/qldefines.hpp.cfg @@ -39,6 +39,8 @@ #include #include #if BOOST_VERSION < 104800 + // Intentionally reject unsupported Boost versions during preprocessing. + // cppcheck-suppress preprocessorErrorDirective #error using an old version of Boost, please update. #endif #if !defined(BOOST_ENABLE_ASSERT_HANDLER)