From 88daba7005507af20a09379546611c2b2ae68d1c Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Tue, 4 Dec 2007 07:28:37 +0000 Subject: [PATCH] Merged revisions 41596-41677 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r41613 | hkaiser | 2007-12-02 16:34:52 -0800 (Sun, 02 Dec 2007) | 1 line Wave: One more fix to enable standalone header compilation. ........ r41621 | hkaiser | 2007-12-02 17:16:28 -0800 (Sun, 02 Dec 2007) | 1 line Wave: Updated documentation. ........ r41625 | noel_belcourt | 2007-12-02 18:04:30 -0800 (Sun, 02 Dec 2007) | 4 lines Change macro logic to get included on SunOS. ........ r41626 | grafik | 2007-12-02 18:57:49 -0800 (Sun, 02 Dec 2007) | 1 line Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file. ........ r41627 | grafik | 2007-12-02 19:06:22 -0800 (Sun, 02 Dec 2007) | 1 line Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file. ........ r41629 | grafik | 2007-12-02 20:05:39 -0800 (Sun, 02 Dec 2007) | 1 line Bump bjam to 3.1.17 after 3.1.16 release. ........ r41636 | nesotto | 2007-12-03 01:00:23 -0800 (Mon, 03 Dec 2007) | 1 line missing include ........ r41638 | nesotto | 2007-12-03 01:08:02 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1477 ........ r41639 | vladimir_prus | 2007-12-03 02:39:46 -0800 (Mon, 03 Dec 2007) | 2 lines Fix 64-bit windows msvc detection, again. ........ r41642 | t_schwinger | 2007-12-03 05:25:26 -0800 (Mon, 03 Dec 2007) | 3 lines Strips top-level cv-qualifiers off non-reference types, now. ........ r41644 | nesotto | 2007-12-03 07:16:16 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1488 ........ r41645 | nesotto | 2007-12-03 07:19:37 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1467 ........ r41646 | grafik | 2007-12-03 07:48:40 -0800 (Mon, 03 Dec 2007) | 1 line Switch testing to 3.1.16 bjam release. ........ r41647 | niels_dekker | 2007-12-03 10:14:37 -0800 (Mon, 03 Dec 2007) | 1 line Added value_init test for C style array of bytes ........ r41648 | niels_dekker | 2007-12-03 10:20:19 -0800 (Mon, 03 Dec 2007) | 1 line Added missing #include to value_init_test.cpp. (My mistake!) ........ r41649 | jhunold | 2007-12-03 10:47:17 -0800 (Mon, 03 Dec 2007) | 2 lines Silence unused paramter warning in release mode. ........ r41650 | jhunold | 2007-12-03 10:51:26 -0800 (Mon, 03 Dec 2007) | 2 lines Add cosmetic virtual detructors to silence compile warnings. ........ r41651 | t_schwinger | 2007-12-03 11:00:09 -0800 (Mon, 03 Dec 2007) | 3 lines adds explicit failures markup for function_types ........ r41653 | lbourdev | 2007-12-03 11:13:15 -0800 (Mon, 03 Dec 2007) | 3 lines GIL: Typo in documentation. ........ r41663 | noel_belcourt | 2007-12-03 12:50:58 -0800 (Mon, 03 Dec 2007) | 5 lines Changes to support pgi-7.0 on Linux. * pthread requires rt * force IEEE 754 math for slow, but correct, numerics ........ r41667 | niels_dekker | 2007-12-03 13:41:59 -0800 (Mon, 03 Dec 2007) | 2 lines Added value_init test for an value_initialized object allocated on the heap. ........ r41668 | anthonyw | 2007-12-03 14:00:26 -0800 (Mon, 03 Dec 2007) | 1 line check predicate before returning if we time out on a predicated version of timed_wait ........ [SVN r41678] --- include/boost/python/converter/implicit.hpp | 2 +- test/bienstman1.cpp | 2 +- test/bienstman3.cpp | 1 + test/implicit.cpp | 1 + test/pointer_vector.cpp | 1 + test/shared_ptr.cpp | 1 + test/wrapper_held_type.cpp | 1 + 7 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/boost/python/converter/implicit.hpp b/include/boost/python/converter/implicit.hpp index cf5d8fa6..8bbbfd5a 100644 --- a/include/boost/python/converter/implicit.hpp +++ b/include/boost/python/converter/implicit.hpp @@ -32,7 +32,7 @@ struct implicit arg_from_python get_source(obj); bool convertible = get_source.convertible(); - BOOST_ASSERT(convertible); + BOOST_VERIFY(convertible); new (storage) Target(get_source()); 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; }; diff --git a/test/shared_ptr.cpp b/test/shared_ptr.cpp index ee007abd..e5f20a73 100644 --- a/test/shared_ptr.cpp +++ b/test/shared_ptr.cpp @@ -129,6 +129,7 @@ shared_ptr factory(int n) // regressions from Nicodemus struct A { + virtual ~A() {}; // silence compiler warnings virtual int f() = 0; static int call_f(shared_ptr& a) { return a->f(); } }; diff --git a/test/wrapper_held_type.cpp b/test/wrapper_held_type.cpp index d5afface..e9942279 100755 --- a/test/wrapper_held_type.cpp +++ b/test/wrapper_held_type.cpp @@ -13,6 +13,7 @@ struct data { + virtual ~data() {}; // silence compiler warnings virtual int id() const { return 42;