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
Workaround build error seen with clang 10 on freebsd.
[simgrid.git]
/
src
/
bindings
/
python
/
simgrid_python.cpp
diff --git
a/src/bindings/python/simgrid_python.cpp
b/src/bindings/python/simgrid_python.cpp
index
340c5d2
..
4b70a2d
100644
(file)
--- a/
src/bindings/python/simgrid_python.cpp
+++ b/
src/bindings/python/simgrid_python.cpp
@@
-8,10
+8,19
@@
#define _hypot hypot
#endif
#define _hypot hypot
#endif
+#if defined(__GNUG__)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-value"
+#endif
+
#include <pybind11/functional.h>
#include <pybind11/pybind11.h> // Must come before our own stuff
#include <pybind11/stl.h>
#include <pybind11/functional.h>
#include <pybind11/pybind11.h> // Must come before our own stuff
#include <pybind11/stl.h>
+#if defined(__GNUG__)
+#pragma GCC diagnostic pop
+#endif
+
#include "src/kernel/context/Context.hpp"
#include <simgrid/Exception.hpp>
#include <simgrid/s4u/Actor.hpp>
#include "src/kernel/context/Context.hpp"
#include <simgrid/Exception.hpp>
#include <simgrid/s4u/Actor.hpp>