diff --git a/test/bienstman1.cpp b/test/bienstman1.cpp index 281c89aa..dc006578 100644 --- a/test/bienstman1.cpp +++ b/test/bienstman1.cpp @@ -11,7 +11,7 @@ struct A {}; struct V { - + virtual ~V() {}; // silence compiler warningsa virtual void f() = 0; const A* inside() {return &a;} diff --git a/test/bienstman3.cpp b/test/bienstman3.cpp index 1a8a7714..d765b303 100644 --- a/test/bienstman3.cpp +++ b/test/bienstman3.cpp @@ -7,6 +7,7 @@ struct V { + virtual ~V() {}; // silence compiler warningsa virtual void f() = 0; }; diff --git a/test/implicit.cpp b/test/implicit.cpp index 61ca21a7..a1bae59e 100644 --- a/test/implicit.cpp +++ b/test/implicit.cpp @@ -24,6 +24,7 @@ X make_x(int n) { return X(n); } struct bar {}; struct foo { + virtual ~foo() {}; // silence compiler warnings virtual void f() = 0; operator bar() const { return bar(); } }; diff --git a/test/pointer_vector.cpp b/test/pointer_vector.cpp index c1f7dbd4..08cd4861 100644 --- a/test/pointer_vector.cpp +++ b/test/pointer_vector.cpp @@ -10,6 +10,7 @@ using namespace boost::python; class Abstract { public: + virtual ~Abstract() {}; // silence compiler warningsa virtual std::string f() =0; };