Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Workaround build error with older versions of Eigen3.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 22 Apr 2022 09:34:54 +0000 (11:34 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 22 Apr 2022 09:41:00 +0000 (11:41 +0200)
Make it build on the freebsd CI node.

src/kernel/lmm/bmf.hpp

index 771eab4..ce0458a 100644 (file)
@@ -7,7 +7,16 @@
 #define SIMGRID_KERNEL_LMM_BMF_HPP
 
 #include "src/kernel/lmm/System.hpp"
+
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif
 #include <Eigen/Dense>
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 #include <unordered_set>
 
 namespace simgrid {