mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-04 10:57:11 +00:00
Does build_mode release fix it
This commit is contained in:
parent
244aa5262b
commit
b09f14d488
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -402,7 +402,8 @@ jobs:
|
|||||||
-DCMAKE_CXX_STANDARD=11 \
|
-DCMAKE_CXX_STANDARD=11 \
|
||||||
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
|
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
|
||||||
-DCMAKE_CXX_FLAGS="-Wc,--pending_instantiations=0" \
|
-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
|
# Building before installing Pip should produce a warning but not an error
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -449,7 +449,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
mutable std::string m_lazy_what;
|
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)
|
#if defined(_MSC_VER)
|
||||||
# pragma warning(pop)
|
# pragma warning(pop)
|
||||||
|
Loading…
Reference in New Issue
Block a user