From 9ac604a3e86fe86473768de95725783d284ffcae Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 15 Oct 2020 10:13:38 -0400 Subject: [PATCH] fix: PyPy windows issue --- include/pybind11/pybind11.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 8698390e0..51fb74a57 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -29,6 +29,7 @@ # pragma warning(disable: 4996) // warning C4996: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name # pragma warning(disable: 4702) // warning C4702: unreachable code # pragma warning(disable: 4522) // warning C4522: multiple assignment operators specified +# pragma warning(disable: 4505) // warning C4505: 'PySlice_GetIndicesEx': unreferenced local function has been removed (PyPy only) #elif defined(__GNUG__) && !defined(__clang__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wunused-but-set-parameter"