mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-24 07:53:26 +08:00
fix: PyPy windows issue
This commit is contained in:
parent
b72c79f964
commit
9ac604a3e8
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user