Skip to content

Commit 661c7b7

Browse files
committed
fix: typo in Windows C++17 support
1 parent 8fa70e7 commit 661c7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybind11/setup_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def cxx_std(self, level):
175175

176176
if PY2:
177177
if level >= 17:
178-
self.extra_compile_args.append("/wd503" if WIN else "-Wno-register")
178+
self.extra_compile_args.append("/wd5033" if WIN else "-Wno-register")
179179
elif not WIN and level >= 14:
180180
self.extra_compile_args.append("-Wno-deprecated-register")
181181

0 commit comments

Comments
 (0)