mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 15:29:45 +00:00
CI fixes (#1744)
* Fix warning that not including a cmake source or build dir will be a fatal error (it is now on newest CMakes)
* Fixes appveyor
* Travis uses CMake 3.9 for more than a year now
* Travis dropped sudo: false in December
* Dropping Sphinx 2
- clang7: Suppress self-assign warnings; fix missing virtual dtors
- pypy:
- Keep old version (newer stuff breaks)
- Pin packages to extra index for speed
- travis:
- Make docker explicit; remove docker if not needed
- Make commands more verbose (for debugging / repro)
- Make Ubuntu dist explicit per job
- Fix Windows
- Add names to travis
This commit is contained in:
committed by
Wenzel Jakob
parent
25abf7efba
commit
ae951ca085
@@ -336,7 +336,9 @@ TEST_SUBMODULE(smart_ptr, m) {
|
||||
|
||||
// test_shared_ptr_gc
|
||||
// #187: issue involving std::shared_ptr<> return value policy & garbage collection
|
||||
struct ElementBase { virtual void foo() { } /* Force creation of virtual table */ };
|
||||
struct ElementBase {
|
||||
virtual ~ElementBase() { } /* Force creation of virtual table */
|
||||
};
|
||||
py::class_<ElementBase, std::shared_ptr<ElementBase>>(m, "ElementBase");
|
||||
|
||||
struct ElementA : ElementBase {
|
||||
|
||||
Reference in New Issue
Block a user