diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 79d02683..75d7be46 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -31,6 +31,7 @@ # pragma GCC diagnostic ignored "-Wmissing-field-initializers" # pragma GCC diagnostic ignored "-Wstrict-aliasing" # pragma GCC diagnostic ignored "-Wattributes" +# pragma GCC diagnostic ignored "-Wnoexcept-type" #endif #include "attr.h"