Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
87828c7e
Unverified
Commit
87828c7e
authored
Sep 18, 2020
by
Henry Schreiner
Committed by
GitHub
Sep 18, 2020
Browse files
fix: typo in Windows C++17 support (#2507)
parent
8fa70e74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pybind11/setup_helpers.py
pybind11/setup_helpers.py
+1
-1
No files found.
pybind11/setup_helpers.py
View file @
87828c7e
...
@@ -175,7 +175,7 @@ class Pybind11Extension(_Extension):
...
@@ -175,7 +175,7 @@ class Pybind11Extension(_Extension):
if
PY2
:
if
PY2
:
if
level
>=
17
:
if
level
>=
17
:
self
.
extra_compile_args
.
append
(
"/wd503"
if
WIN
else
"-Wno-register"
)
self
.
extra_compile_args
.
append
(
"/wd503
3
"
if
WIN
else
"-Wno-register"
)
elif
not
WIN
and
level
>=
14
:
elif
not
WIN
and
level
>=
14
:
self
.
extra_compile_args
.
append
(
"-Wno-deprecated-register"
)
self
.
extra_compile_args
.
append
(
"-Wno-deprecated-register"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment