summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 12:10:18 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 12:10:18 +0000
commit599a98033f73dee390e497ef903f49f474ec2c7d (patch)
tree1a297805e7d0ef39192324123da29c01fe638c02 /boost
parentd74350ca35dd10580f12c5158de5faaacf9994b3 (diff)
INTEGRATION: CWS warnings01 (1.3.4); FILE MERGED
2006/03/08 22:06:04 thb 1.3.4.3: #i55991# This auto-patch-re-gen is borked - I've only added the function_template.hpp changes (renaming a few method-local typedefs to no longer hide class-global types) 2005/12/07 09:00:13 sb 1.3.4.2: #i53898# Disable certain warnings from within boost headers.' 2005/11/09 14:09:59 pl 1.3.4.1: #i53898# avoid warnings due to boost header
Diffstat (limited to 'boost')
-rw-r--r--boost/boost-1.30.2.patch148
1 files changed, 141 insertions, 7 deletions
diff --git a/boost/boost-1.30.2.patch b/boost/boost-1.30.2.patch
index 2b2b22778e5c..b46884f8ebf5 100644
--- a/boost/boost-1.30.2.patch
+++ b/boost/boost-1.30.2.patch
@@ -1,5 +1,5 @@
-*** misc/boost-1.30.2/boost/bind.hpp 2002-10-15 12:51:34.000000000 +0200
---- misc/build/boost-1.30.2/boost/bind.hpp 2005-09-14 17:49:16.353411000 +0200
+*** misc/boost-1.30.2/boost/bind.hpp Tue Oct 15 12:51:34 2002
+--- misc/build/boost-1.30.2/boost/bind.hpp Thu Jan 26 17:10:47 2006
***************
*** 5,10 ****
--- 5,17 ----
@@ -37,8 +37,20 @@
#ifdef BOOST_MEM_FN_ENABLE_STDCALL
#define BOOST_BIND_MF_NAME(X) X##_stdcall
-*** misc/boost-1.30.2/boost/function/function_template.hpp 2003-02-07 15:03:36.000000000 +0100
---- misc/build/boost-1.30.2/boost/function/function_template.hpp 2005-09-14 17:47:26.513096000 +0200
+*** misc/boost-1.30.2/boost/function/function_template.hpp Fri Feb 7 15:03:36 2003
+--- misc/build/boost-1.30.2/boost/function/function_template.hpp Wed Mar 8 20:10:22 2006
+***************
+*** 15,20 ****
+--- 15,23 ----
+
+ // Note: this header is a header template and must NOT have multiple-inclusion
+ // protection.
++ #if defined __GNUC__
++ #pragma GCC system_header
++ #endif
+ #include <boost/function/detail/prologue.hpp>
+
+ #define BOOST_FUNCTION_TEMPLATE_PARMS BOOST_PP_ENUM_PARAMS(BOOST_FUNCTION_NUM_ARGS, typename T)
***************
*** 395,401 ****
invoker = 0;
@@ -48,7 +60,7 @@
// Sun C++ 5.3 can't handle the safe_bool idiom, so don't use it
operator bool () const { return !this->empty(); }
#else
---- 395,401 ----
+--- 398,404 ----
invoker = 0;
}
@@ -56,8 +68,130 @@
// Sun C++ 5.3 can't handle the safe_bool idiom, so don't use it
operator bool () const { return !this->empty(); }
#else
-*** misc/boost-1.30.2/boost/mem_fn.hpp 2002-12-20 19:14:59.000000000 +0100
---- misc/build/boost-1.30.2/boost/mem_fn.hpp 2005-09-14 17:49:31.078044000 +0200
+***************
+*** 443,451 ****
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! invoker_type;
+
+! invoker = &invoker_type::invoke;
+ function_base::manager =
+ &detail::function::functor_manager<FunctionPtr, Allocator>::manage;
+ function_base::functor =
+--- 446,454 ----
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! lcl_invoker_type;
+
+! invoker = &lcl_invoker_type::invoke;
+ function_base::manager =
+ &detail::function::functor_manager<FunctionPtr, Allocator>::manage;
+ function_base::functor =
+***************
+*** 476,491 ****
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! invoker_type;
+
+! invoker = &invoker_type::invoke;
+ function_base::manager = &detail::function::functor_manager<
+ FunctionObj, Allocator>::manage;
+ #ifndef BOOST_NO_STD_ALLOCATOR
+ typedef typename Allocator::template rebind<FunctionObj>::other
+! allocator_type;
+! typedef typename allocator_type::pointer pointer_type;
+! allocator_type allocator;
+ pointer_type copy = allocator.allocate(1);
+ allocator.construct(copy, f);
+
+--- 479,494 ----
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! lcl_invoker_type;
+
+! invoker = &lcl_invoker_type::invoke;
+ function_base::manager = &detail::function::functor_manager<
+ FunctionObj, Allocator>::manage;
+ #ifndef BOOST_NO_STD_ALLOCATOR
+ typedef typename Allocator::template rebind<FunctionObj>::other
+! lcl_allocator_type;
+! typedef typename lcl_allocator_type::pointer pointer_type;
+! lcl_allocator_type allocator;
+ pointer_type copy = allocator.allocate(1);
+ allocator.construct(copy, f);
+
+***************
+*** 510,518 ****
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! invoker_type;
+
+! invoker = &invoker_type::invoke;
+ function_base::manager = &detail::function::trivial_manager;
+ function_base::functor =
+ function_base::manager(
+--- 513,521 ----
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! lcl_invoker_type;
+
+! invoker = &lcl_invoker_type::invoke;
+ function_base::manager = &detail::function::trivial_manager;
+ function_base::functor =
+ function_base::manager(
+***************
+*** 532,539 ****
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! invoker_type;
+! invoker = &invoker_type::invoke;
+ function_base::manager = &detail::function::trivial_manager;
+ function_base::functor = detail::function::make_any_pointer(this);
+ }
+--- 535,542 ----
+ R BOOST_FUNCTION_COMMA
+ BOOST_FUNCTION_TEMPLATE_ARGS
+ >::type
+! lcl_invoker_type;
+! invoker = &lcl_invoker_type::invoke;
+ function_base::manager = &detail::function::trivial_manager;
+ function_base::functor = detail::function::make_any_pointer(this);
+ }
+*** misc/boost-1.30.2/boost/function.hpp Fri Feb 14 16:34:39 2003
+--- misc/build/boost-1.30.2/boost/function.hpp Thu Jan 26 17:10:47 2006
+***************
+*** 16,21 ****
+--- 16,26 ----
+ // William Kempf, Jesse Jones and Karl Nelson were all very helpful in the
+ // design of this library.
+
++ #if defined _MSC_VER
++ #pragma warning(push)
++ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
++ #endif
++
+ #include <boost/preprocessor/iterate.hpp>
+ #include <boost/detail/workaround.hpp>
+
+***************
+*** 68,70 ****
+--- 73,79 ----
+ # include BOOST_PP_ITERATE()
+ # undef BOOST_PP_ITERATION_PARAMS_1
+ #endif
++
++ #if defined _MSC_VER
++ #pragma warning(pop)
++ #endif
+*** misc/boost-1.30.2/boost/mem_fn.hpp Fri Dec 20 19:14:59 2002
+--- misc/build/boost-1.30.2/boost/mem_fn.hpp Thu Jan 26 17:10:47 2006
***************
*** 5,10 ****
--- 5,17 ----