Update of /cvsroot/boost/boost/boost/thread/pthread
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2014/boost/thread/pthread

Modified Files:
      Tag: thread_rewrite
        condition.hpp mutex.hpp thread.hpp 
Log Message:
disable MSVC DLL warnings for derivation from noncopyable

Index: condition.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/pthread/Attic/condition.hpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- condition.hpp       11 Apr 2006 19:54:45 -0000      1.1.2.1
+++ condition.hpp       22 Sep 2006 17:00:21 -0000      1.1.2.2
@@ -21,6 +21,13 @@
 
 struct xtime;
 
+// disable warnings about non dll import
+// see: http://www.boost.org/more/separate_compilation.html#dlls
+#ifdef BOOST_MSVC
+#      pragma warning(push)
+#      pragma warning(disable: 4251 4231 4660 4275)
+#endif
+
 namespace detail {
 
 class BOOST_THREAD_DECL condition_impl : private noncopyable
@@ -140,6 +147,10 @@
     }
 };
 
+#ifdef BOOST_MSVC
+#      pragma warning(pop)
+#endif
+
 } // namespace boost
 
 #endif // BOOST_CONDITION_RS06040707_HPP

Index: mutex.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/pthread/Attic/mutex.hpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- mutex.hpp   11 Apr 2006 19:54:45 -0000      1.1.2.1
+++ mutex.hpp   22 Sep 2006 17:00:21 -0000      1.1.2.2
@@ -20,6 +20,13 @@
 
 struct xtime;
 
+// disable warnings about non dll import
+// see: http://www.boost.org/more/separate_compilation.html#dlls
+#ifdef BOOST_MSVC
+#      pragma warning(push)
+#      pragma warning(disable: 4251 4231 4660 4275)
+#endif
+
 class BOOST_THREAD_DECL mutex
     : private noncopyable
 {
@@ -100,6 +107,10 @@
     bool m_locked;
 };
 
+#ifdef BOOST_MSVC
+#      pragma warning(pop)
+#endif
+
 } // namespace boost
 
 #endif // BOOST_MUTEX_RS06040705_HPP

Index: thread.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/pthread/Attic/thread.hpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- thread.hpp  11 Apr 2006 19:54:45 -0000      1.1.2.1
+++ thread.hpp  22 Sep 2006 17:00:21 -0000      1.1.2.2
@@ -22,6 +22,13 @@
 
 struct xtime;
 
+// disable warnings about non dll import
+// see: http://www.boost.org/more/separate_compilation.html#dlls
+#ifdef BOOST_MSVC
+#      pragma warning(push)
+#      pragma warning(disable: 4251 4231 4660 4275)
+#endif
+
 class BOOST_THREAD_DECL thread : private noncopyable
 {
 public:
@@ -59,6 +66,10 @@
     mutex m_mutex;
 };
 
+#ifdef BOOST_MSVC
+#      pragma warning(pop)
+#endif
+
 } // namespace boost
 
 #endif // BOOST_THREAD_RS06040701_HPP


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to