Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78135 - trunk/boost/context/detail
From: oliver.kowalke_at_[hidden]
Date: 2012-04-22 08:27:28


Author: olli
Date: 2012-04-22 08:27:27 EDT (Sun, 22 Apr 2012)
New Revision: 78135
URL: http://svn.boost.org/trac/boost/changeset/78135

Log:
context: pragma warning dsiabled on Win32

Text files modified:
   trunk/boost/context/detail/fcontext_i386_win.hpp | 5 +++++
   trunk/boost/context/detail/fcontext_x86_64_win.hpp | 10 +++-------
   2 files changed, 8 insertions(+), 7 deletions(-)

Modified: trunk/boost/context/detail/fcontext_i386_win.hpp
==============================================================================
--- trunk/boost/context/detail/fcontext_i386_win.hpp (original)
+++ trunk/boost/context/detail/fcontext_i386_win.hpp 2012-04-22 08:27:27 EDT (Sun, 22 Apr 2012)
@@ -16,6 +16,9 @@
 
 #include <boost/context/detail/config.hpp>
 
+#pragma warning(push)
+#pragma warning(disable:4351)
+
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
@@ -73,4 +76,6 @@
 # include BOOST_ABI_SUFFIX
 #endif
 
+#pragma warning(pop)
+
 #endif // BOOST_CTX_DETAIL_FCONTEXT_I386_H

Modified: trunk/boost/context/detail/fcontext_x86_64_win.hpp
==============================================================================
--- trunk/boost/context/detail/fcontext_x86_64_win.hpp (original)
+++ trunk/boost/context/detail/fcontext_x86_64_win.hpp 2012-04-22 08:27:27 EDT (Sun, 22 Apr 2012)
@@ -17,10 +17,8 @@
 
 #include <boost/context/detail/config.hpp>
 
-#ifdef BOOST_MSVC
-# pragma warning(push)
-# pragma warning(disable:4351)
-#endif
+#pragma warning(push)
+#pragma warning(disable:4351)
 
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
@@ -85,8 +83,6 @@
 # include BOOST_ABI_SUFFIX
 #endif
 
-#ifdef BOOST_MSVC
-# pragma warning(pop)
-#endif
+#pragma warning(pop)
 
 #endif // BOOST_CTX_DETAIL_FCONTEXT_X86_64_H


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