Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58615 - in sandbox/fiber/boost/fiber: . spin
From: oliver.kowalke_at_[hidden]
Date: 2010-01-01 03:04:03


Author: olli
Date: 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
New Revision: 58615
URL: http://svn.boost.org/trac/boost/changeset/58615

Log:
suppress warning on Windows
Text files modified:
   sandbox/fiber/boost/fiber/auto_reset_event.hpp | 2 +-
   sandbox/fiber/boost/fiber/barrier.hpp | 2 +-
   sandbox/fiber/boost/fiber/condition.hpp | 2 +-
   sandbox/fiber/boost/fiber/count_down_event.hpp | 2 +-
   sandbox/fiber/boost/fiber/interruption.hpp | 4 ++--
   sandbox/fiber/boost/fiber/manual_reset_event.hpp | 2 +-
   sandbox/fiber/boost/fiber/mutex.hpp | 2 +-
   sandbox/fiber/boost/fiber/scheduler.hpp | 9 ---------
   sandbox/fiber/boost/fiber/spin/auto_reset_event.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/spin/barrier.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/spin/condition.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/spin/count_down_event.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/spin/manual_reset_event.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/spin/mutex.hpp | 9 +++++++++
   sandbox/fiber/boost/fiber/strategy.hpp | 2 +-
   15 files changed, 63 insertions(+), 18 deletions(-)

Modified: sandbox/fiber/boost/fiber/auto_reset_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/auto_reset_event.hpp (original)
+++ sandbox/fiber/boost/fiber/auto_reset_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -21,7 +21,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4355 4251)
+# pragma warning(disable:4355 4251 4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/barrier.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/barrier.hpp (original)
+++ sandbox/fiber/boost/fiber/barrier.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -24,7 +24,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4251)
+# pragma warning(disable:4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/condition.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/condition.hpp (original)
+++ sandbox/fiber/boost/fiber/condition.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -29,7 +29,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4355 4251)
+# pragma warning(disable:4355 4251 4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/count_down_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/count_down_event.hpp (original)
+++ sandbox/fiber/boost/fiber/count_down_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -24,7 +24,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4355 4251)
+# pragma warning(disable:4355 4251 4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/interruption.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/interruption.hpp (original)
+++ sandbox/fiber/boost/fiber/interruption.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -25,7 +25,7 @@
 
 class restore_interruption;
 
-class BOOST_FIBER_DECL disable_interruption : private noncopyable
+class disable_interruption : private noncopyable
 {
 private:
         friend class restore_interruption;
@@ -52,7 +52,7 @@
         }
 };
 
-class BOOST_FIBER_DECL restore_interruption : private noncopyable
+class restore_interruption : private noncopyable
 {
 private:
         disable_interruption & disabler_;

Modified: sandbox/fiber/boost/fiber/manual_reset_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/manual_reset_event.hpp (original)
+++ sandbox/fiber/boost/fiber/manual_reset_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -24,7 +24,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4355)
+# pragma warning(disable:4355 4251 4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/mutex.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/mutex.hpp (original)
+++ sandbox/fiber/boost/fiber/mutex.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -25,7 +25,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4355)
+# pragma warning(disable:4355 4251 4275)
 # endif
 
 namespace boost {

Modified: sandbox/fiber/boost/fiber/scheduler.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/scheduler.hpp (original)
+++ sandbox/fiber/boost/fiber/scheduler.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -25,11 +25,6 @@
 # include BOOST_ABI_PREFIX
 #endif
 
-# if defined(BOOST_MSVC)
-# pragma warning(push)
-# pragma warning(disable:4251 4275)
-# endif
-
 namespace boost {
 namespace fibers {
 
@@ -118,10 +113,6 @@
 
 }}
 
-# if defined(BOOST_MSVC)
-# pragma warning(pop)
-# endif
-
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/auto_reset_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/auto_reset_event.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/auto_reset_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -17,6 +17,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4355 4251 4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -44,6 +49,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/barrier.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/barrier.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/barrier.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -20,6 +20,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -41,6 +46,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/condition.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/condition.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/condition.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -27,6 +27,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4355 4251 4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -137,6 +142,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/count_down_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/count_down_event.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/count_down_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -19,6 +19,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4355 4251 4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -45,6 +50,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/manual_reset_event.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/manual_reset_event.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/manual_reset_event.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -20,6 +20,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4355 4251 4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -51,6 +56,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/spin/mutex.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/spin/mutex.hpp (original)
+++ sandbox/fiber/boost/fiber/spin/mutex.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -21,6 +21,11 @@
 # include BOOST_ABI_PREFIX
 #endif
 
+# if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable:4355 4251 4275)
+# endif
+
 namespace boost {
 namespace fibers {
 namespace spin {
@@ -52,6 +57,10 @@
 
 }}}
 
+# if defined(BOOST_MSVC)
+# pragma warning(pop)
+# endif
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif

Modified: sandbox/fiber/boost/fiber/strategy.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/strategy.hpp (original)
+++ sandbox/fiber/boost/fiber/strategy.hpp 2010-01-01 03:04:01 EST (Fri, 01 Jan 2010)
@@ -26,7 +26,7 @@
 
 # if defined(BOOST_MSVC)
 # pragma warning(push)
-# pragma warning(disable:4251 4275)
+# pragma warning(disable:4251)
 # endif
 
 namespace boost {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk