X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2d042d8e1b91807d34d08168fdcf417c2f7cb685..774e90700f1170369d39794ebf0567fbed3a6698:/src/kernel/context/ContextBoost.hpp diff --git a/src/kernel/context/ContextBoost.hpp b/src/kernel/context/ContextBoost.hpp index 22295c55a1..ca190cd60e 100644 --- a/src/kernel/context/ContextBoost.hpp +++ b/src/kernel/context/ContextBoost.hpp @@ -6,6 +6,10 @@ #ifndef SIMGRID_KERNEL_CONTEXT_BOOST_CONTEXT_HPP #define SIMGRID_KERNEL_CONTEXT_BOOST_CONTEXT_HPP +/* Boost uses undef preprocessor symbols on FreeBSD, so disable our Werror for this file */ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wundef" + #include #if BOOST_VERSION < 106100 #include @@ -13,6 +17,8 @@ #include #endif +#pragma clang diagnostic pop + #include #include #include