A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
There is too much boost include to protect, disable -Wundef on FreeBSD alltogether
[simgrid.git]
/
src
/
kernel
/
context
/
ContextBoost.hpp
diff --git
a/src/kernel/context/ContextBoost.hpp
b/src/kernel/context/ContextBoost.hpp
index
adca9a2
..
22295c5
100644
(file)
--- a/
src/kernel/context/ContextBoost.hpp
+++ b/
src/kernel/context/ContextBoost.hpp
@@
-6,12
+6,6
@@
#ifndef SIMGRID_KERNEL_CONTEXT_BOOST_CONTEXT_HPP
#define SIMGRID_KERNEL_CONTEXT_BOOST_CONTEXT_HPP
#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 */
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wundef"
-#endif
-
#include <boost/version.hpp>
#if BOOST_VERSION < 106100
#include <boost/context/fcontext.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION < 106100
#include <boost/context/fcontext.hpp>
@@
-19,10
+13,6
@@
#include <boost/context/detail/fcontext.hpp>
#endif
#include <boost/context/detail/fcontext.hpp>
#endif
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif
-
#include <atomic>
#include <cstdint>
#include <functional>
#include <atomic>
#include <cstdint>
#include <functional>