diff --git a/.gitignore b/.gitignore
index 22cf052921772422e3c990e8b7dc3a3fe00e2e3c..c2fcf5e05739e7c1ffb34bad79567fbee1d0cc8b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 _build*
-*~
\ No newline at end of file
+.~
+compile_commands.json
diff --git a/include/dynamic-graph/eigen-io.h b/include/dynamic-graph/eigen-io.h
index 2d3f900fa79c4ad26f2444da916b1103828e8ca9..493c2f6e4894c212c4b57e83cea0098f29878d5e 100644
--- a/include/dynamic-graph/eigen-io.h
+++ b/include/dynamic-graph/eigen-io.h
@@ -7,15 +7,13 @@
 #ifndef DYNAMIC_GRAPH_EIGEN_IO_H
 #define DYNAMIC_GRAPH_EIGEN_IO_H
 
-#include <boost/format.hpp>
-#include <boost/numeric/conversion/cast.hpp>
-#pragma GCC diagnostic push
-#pragma GCC system_header
-#include <Eigen/Geometry>
-#pragma GCC diagnostic pop
 #include <dynamic-graph/exception-signal.h>
 #include <dynamic-graph/linear-algebra.h>
 
+#include <Eigen/Geometry>
+#include <boost/format.hpp>
+#include <boost/numeric/conversion/cast.hpp>
+
 using dynamicgraph::ExceptionSignal;
 
 // TODO: Eigen 3.3 onwards has a global Eigen::Index definition.
diff --git a/include/dynamic-graph/linear-algebra.h b/include/dynamic-graph/linear-algebra.h
index 4a3b2564ecdc1c070261a735d7db299c4ae4c0c5..c600ff1763d04305f22f5456a5f1eb1c69478ae5 100644
--- a/include/dynamic-graph/linear-algebra.h
+++ b/include/dynamic-graph/linear-algebra.h
@@ -6,11 +6,8 @@
 
 #ifndef DYNAMIC_GRAPH_LINEAR_ALGEBRA_H
 #define DYNAMIC_GRAPH_LINEAR_ALGEBRA_H
-#pragma GCC diagnostic push
-#pragma GCC system_header
 #include <Eigen/Core>
 #include <Eigen/Geometry>
-#pragma GCC diagnostic pop
 
 namespace dynamicgraph {
 typedef Eigen::MatrixXd Matrix;
diff --git a/tests/interpreter-tracer.cpp b/tests/interpreter-tracer.cpp
deleted file mode 100644
index 4d1207d150048442f33d812905a8bd6d924b5f67..0000000000000000000000000000000000000000
--- a/tests/interpreter-tracer.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2010 Thomas Moulard.
-//
-
-#include <dynamic-graph/exception-factory.h>
-#include <dynamic-graph/interpreter.h>
-#include <dynamic-graph/plugin-loader.h>
-
-#include <sstream>
-
-#define BOOST_TEST_MODULE tracer
-
-#if BOOST_VERSION >= 105900
-#include <boost/test/tools/output_test_stream.hpp>
-#else
-#include <boost/test/output_test_stream.hpp>
-#endif
-#include <boost/test/unit_test.hpp>
-
-#include "interpreter.h"
-
-using boost::test_tools::output_test_stream;
-
-// Check that plug-in loading/unloading is working.
-BOOST_AUTO_TEST_CASE(cmd_tracer) {
-  dynamicgraph::PluginLoader pl;
-
-  // Push paths.
-  {
-    RUN_COMMAND("pushImportPaths", TESTS_DATADIR);
-    BOOST_CHECK(output.is_empty());
-  }
-  {
-    RUN_COMMAND("pushImportPaths", TESTS_PLUGINDIR);
-    BOOST_CHECK(output.is_empty());
-  }
-
-  // Import tracer.dg
-  {
-    RUN_COMMAND("import", "interpreter-tracer.dg");
-    BOOST_CHECK(output.is_empty());
-  }
-}
diff --git a/tests/signal-cast-register-test.h b/tests/signal-cast-register-test.h
index 1d466c159a7183471a6223543cbbdfe1c4f85716..ab76dd2cdd18666193365bab92b9cf14bf15fd16 100644
--- a/tests/signal-cast-register-test.h
+++ b/tests/signal-cast-register-test.h
@@ -1,4 +1 @@
-#pragma GCC diagnostic push
-#pragma GCC system_header
 #include <Eigen/Dense>
-#pragma GCC diagnostic pop
diff --git a/tests/signal-ptr.cpp b/tests/signal-ptr.cpp
index 2fc54474ea20b82610f1147f399855c9893c0f68..96d520fe72098dc61a94a4ddb047be98135f5ceb 100644
--- a/tests/signal-ptr.cpp
+++ b/tests/signal-ptr.cpp
@@ -317,6 +317,6 @@ BOOST_AUTO_TEST_CASE(set_signal_string) {
     s.set(value);
   } catch (const std::exception &exc) {
     std::cout << exc.what() << std::endl;
-    BOOST_CHECK(!"Tentative to set signal to empty string");
+    BOOST_CHECK(!(bool)("Tentative to set signal to empty string"));
   }
 }