Update of /cvsroot/boost/boost/boost/interprocess
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21141
Modified Files:
errors.hpp exceptions.hpp file_mapping.hpp
interprocess_fwd.hpp managed_external_buffer.hpp
managed_heap_memory.hpp managed_mapped_file.hpp
managed_shared_memory.hpp managed_windows_shared_memory.hpp
mapped_region.hpp offset_ptr.hpp segment_manager.hpp
shared_memory_object.hpp windows_shared_memory.hpp
Log Message:
Changes to correct regression tests for intel-win-9.1 & cw-9.4
Index: errors.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/errors.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- errors.hpp 4 May 2007 20:53:08 -0000 1.5
+++ errors.hpp 12 May 2007 12:54:15 -0000 1.6
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: exceptions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/exceptions.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- exceptions.hpp 4 May 2007 20:53:09 -0000 1.3
+++ exceptions.hpp 12 May 2007 12:54:15 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: file_mapping.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/file_mapping.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- file_mapping.hpp 4 May 2007 20:53:09 -0000 1.2
+++ file_mapping.hpp 12 May 2007 12:54:15 -0000 1.3
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: interprocess_fwd.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/interprocess_fwd.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_fwd.hpp 4 May 2007 20:53:09 -0000 1.3
+++ interprocess_fwd.hpp 12 May 2007 12:54:15 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: managed_external_buffer.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/managed_external_buffer.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- managed_external_buffer.hpp 4 May 2007 20:53:09 -0000 1.4
+++ managed_external_buffer.hpp 12 May 2007 12:54:15 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: managed_heap_memory.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/managed_heap_memory.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- managed_heap_memory.hpp 4 May 2007 20:53:09 -0000 1.3
+++ managed_heap_memory.hpp 12 May 2007 12:54:15 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: managed_mapped_file.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/managed_mapped_file.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- managed_mapped_file.hpp 4 May 2007 20:53:09 -0000 1.4
+++ managed_mapped_file.hpp 12 May 2007 12:54:15 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: managed_shared_memory.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/managed_shared_memory.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- managed_shared_memory.hpp 4 May 2007 20:53:09 -0000 1.4
+++ managed_shared_memory.hpp 12 May 2007 12:54:15 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: managed_windows_shared_memory.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/managed_windows_shared_memory.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- managed_windows_shared_memory.hpp 4 May 2007 21:10:01 -0000 1.1
+++ managed_windows_shared_memory.hpp 12 May 2007 12:54:15 -0000 1.2
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: mapped_region.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/mapped_region.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mapped_region.hpp 4 May 2007 20:53:09 -0000 1.2
+++ mapped_region.hpp 12 May 2007 12:54:15 -0000 1.3
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -490,7 +490,7 @@
/*!No-op functor*/
struct null_mapped_region_function
{
- bool operator()(void *addr, std::size_t size, bool) const
+ bool operator()(void *, std::size_t , bool) const
{ return true; }
};
/// @endcond
Index: offset_ptr.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/offset_ptr.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- offset_ptr.hpp 4 May 2007 20:53:09 -0000 1.5
+++ offset_ptr.hpp 12 May 2007 12:54:15 -0000 1.6
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -279,12 +279,6 @@
pt2 = ptr;
}
-/*!get_pointer() enables boost::mem_fn to recognize offset_ptr.
- Never throws.*/
-template<class T>
-inline T * get_pointer(boost::interprocess::offset_ptr<T> const & p)
-{ return p.get(); }
-
/*!Simulation of static_cast between pointers. Never throws.*/
template<class T, class U>
inline boost::interprocess::offset_ptr<T>
@@ -338,13 +332,18 @@
: public true_type
{};
-#if defined(_MSC_VER) && (_MSC_VER < 1400)
+//#if !defined(_MSC_VER) || (_MSC_VER >= 1400)
+namespace interprocess {
+//#endif
/*!get_pointer() enables boost::mem_fn to recognize offset_ptr.
Never throws.*/
template<class T>
inline T * get_pointer(boost::interprocess::offset_ptr<T> const & p)
{ return p.get(); }
-#endif
+//#if !defined(_MSC_VER) || (_MSC_VER >= 1400)
+} //namespace interprocess
+//#endif
+
/// @endcond
} //namespace boost {
Index: segment_manager.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/segment_manager.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- segment_manager.hpp 4 May 2007 20:53:09 -0000 1.4
+++ segment_manager.hpp 12 May 2007 12:54:15 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -244,14 +244,14 @@
template <class OutPtr>
struct get_construct_name<anonymous_instance_t, OutPtr>
{
- static const OutPtr *get(const anonymous_instance_t *name)
+ static const OutPtr *get(const anonymous_instance_t *)
{ return reinterpret_cast<const OutPtr *>(0); }
};
template <class OutPtr>
struct get_construct_name<unique_instance_t, OutPtr>
{
- static const OutPtr *get(const unique_instance_t *name)
+ static const OutPtr *get(const unique_instance_t *)
{ return reinterpret_cast<const OutPtr *>(-1); }
};
@@ -553,13 +553,13 @@
/*!Returns no throwing "construct" proxy object*/
template <class T>
typename construct_proxy<T, false>::type
- construct(char_ptr_holder_t name, std::nothrow_t nothrow)
+ construct(char_ptr_holder_t name, std::nothrow_t)
{ return typename construct_proxy<T, false>::type (name, this); }
/*!Returns no throwing "search or construct" proxy object*/
template <class T>
typename find_construct_proxy<T, false>::type
- find_or_construct(char_ptr_holder_t name, std::nothrow_t nothrow)
+ find_or_construct(char_ptr_holder_t name, std::nothrow_t)
{ return typename find_construct_proxy<T, false>::type (name, this); }
/*!Returns throwing "construct from iterators" proxy object*/
@@ -577,13 +577,13 @@
/*!Returns no throwing "construct from iterators" proxy object*/
template <class T>
typename construct_iter_proxy<T, false>::type
- construct_it(char_ptr_holder_t name, std::nothrow_t nothrow)
+ construct_it(char_ptr_holder_t name, std::nothrow_t)
{ return typename construct_iter_proxy<T, false>::type (name, this); }
/*!Returns no throwing "search or construct from iterators" proxy object*/
template <class T>
typename find_construct_iter_proxy<T, false>::type
- find_or_construct_it(char_ptr_holder_t name, std::nothrow_t nothrow)
+ find_or_construct_it(char_ptr_holder_t name, std::nothrow_t)
{ return typename find_construct_iter_proxy<T, false>::type (name, this);
}
/*!Calls object function blocking recursive interprocess_mutex and
guarantees that
Index: shared_memory_object.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/shared_memory_object.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- shared_memory_object.hpp 4 May 2007 20:53:09 -0000 1.2
+++ shared_memory_object.hpp 12 May 2007 12:54:15 -0000 1.3
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: windows_shared_memory.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/windows_shared_memory.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- windows_shared_memory.hpp 4 May 2007 21:10:02 -0000 1.1
+++ windows_shared_memory.hpp 12 May 2007 12:54:15 -0000 1.2
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs