|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80669 - trunk/boost/thread/win32
From: juergen.hunold_at_[hidden]
Date: 2012-09-23 10:33:51
Author: jhunold
Date: 2012-09-23 10:33:50 EDT (Sun, 23 Sep 2012)
New Revision: 80669
URL: http://svn.boost.org/trac/boost/changeset/80669
Log:
Fix: C4251 warnings from msvc
Suppress those from the standard library.
Make handle_manager visible via BOOST_THREAD_DECL.
Text files modified:
trunk/boost/thread/win32/thread_data.hpp | 9 +++++++++
trunk/boost/thread/win32/thread_primitives.hpp | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/win32/thread_data.hpp
==============================================================================
--- trunk/boost/thread/win32/thread_data.hpp (original)
+++ trunk/boost/thread/win32/thread_data.hpp 2012-09-23 10:33:50 EDT (Sun, 23 Sep 2012)
@@ -22,6 +22,11 @@
#include <boost/config/abi_prefix.hpp>
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4251)
+#endif
+
namespace boost
{
class condition_variable;
@@ -255,6 +260,10 @@
}
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
#include <boost/config/abi_suffix.hpp>
#endif
Modified: trunk/boost/thread/win32/thread_primitives.hpp
==============================================================================
--- trunk/boost/thread/win32/thread_primitives.hpp (original)
+++ trunk/boost/thread/win32/thread_primitives.hpp 2012-09-23 10:33:50 EDT (Sun, 23 Sep 2012)
@@ -232,7 +232,7 @@
BOOST_VERIFY(ReleaseSemaphore(semaphore,count,0)!=0);
}
- class handle_manager
+ class BOOST_THREAD_DECL handle_manager
{
private:
handle handle_to_manage;
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