We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5e600 commit 68211d4Copy full SHA for 68211d4
pybind11/setup_helpers.py
@@ -175,7 +175,7 @@ def cxx_std(self) -> int:
175
def cxx_std(self, level: int) -> None:
176
if self._cxx_level:
177
warnings.warn(
178
- "You cannot safely change the cxx_level after setting it!", stacklevel=1
+ "You cannot safely change the cxx_level after setting it!", stacklevel=2
179
)
180
181
# MSVC 2015 Update 3 and later only have 14 (and later 17) modes, so
0 commit comments