Does build_mode release fix it

This commit is contained in:
Aaron Gokaslan 2022-02-13 14:46:41 -05:00
parent 244aa5262b
commit b09f14d488
2 changed files with 3 additions and 2 deletions

View File

@ -402,7 +402,8 @@ jobs:
-DCMAKE_CXX_STANDARD=11 \
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
-DCMAKE_CXX_FLAGS="-Wc,--pending_instantiations=0" \
-DPYBIND11_TEST_FILTER="test_smart_ptr.cpp;test_virtual_functions.cpp"
-DPYBIND11_TEST_FILTER="test_smart_ptr.cpp;test_virtual_functions.cpp" \
-DCMAKE_BUILD_TYPE=Release
# Building before installing Pip should produce a warning but not an error
- name: Build

View File

@ -449,7 +449,7 @@ public:
private:
mutable std::string m_lazy_what;
object m_type, m_value, m_trace;
mutable object m_type, m_value, m_trace;
};
#if defined(_MSC_VER)
# pragma warning(pop)