mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
fix: typo in Windows C++17 support (#2507)
This commit is contained in:
parent
8fa70e7483
commit
87828c7ec1
@ -175,7 +175,7 @@ class Pybind11Extension(_Extension):
|
||||
|
||||
if PY2:
|
||||
if level >= 17:
|
||||
self.extra_compile_args.append("/wd503" if WIN else "-Wno-register")
|
||||
self.extra_compile_args.append("/wd5033" if WIN else "-Wno-register")
|
||||
elif not WIN and level >= 14:
|
||||
self.extra_compile_args.append("-Wno-deprecated-register")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user