diff --git a/include/pybind11/eigen.h b/include/pybind11/eigen.h index 006a7b98e..718107947 100644 --- a/include/pybind11/eigen.h +++ b/include/pybind11/eigen.h @@ -14,6 +14,7 @@ #if defined(__GNUG__) || defined(__clang__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wconversion" +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif #include