Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79957 - trunk/libs/context/src
From: oliver.kowalke_at_[hidden]
Date: 2012-08-10 16:08:45


Author: olli
Date: 2012-08-10 16:08:44 EDT (Fri, 10 Aug 2012)
New Revision: 79957
URL: http://svn.boost.org/trac/boost/changeset/79957

Log:
context: disble warning 4996 for MSVC

Text files modified:
   trunk/libs/context/src/seh.cpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/libs/context/src/seh.cpp
==============================================================================
--- trunk/libs/context/src/seh.cpp (original)
+++ trunk/libs/context/src/seh.cpp 2012-08-10 16:08:44 EDT (Fri, 10 Aug 2012)
@@ -6,11 +6,6 @@
 
 #define BOOST_CONTEXT_SOURCE
 
-# if defined(BOOST_MSVC)
-# pragma warning(push)
-# pragma warning(disable:4996)
-# endif
-
 extern "C" {
 
 #include <stddef.h>
@@ -26,6 +21,11 @@
 # define SNPRINTF snprintf
 #endif
 
+#if defined(_MSC_VER)
+# pragma warning(push)
+# pragma warning(disable:4996)
+# endif
+
 static const char * exception_description(
     _EXCEPTION_RECORD const* record, char * description, size_t len)
 {


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