Commit 87828c7e by Henry Schreiner Committed by GitHub

fix: typo in Windows C++17 support (#2507)

parent 8fa70e74
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment