|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62852 - sandbox/SOC/2010/phoenix3/boost/phoenix/statement
From: eric_at_[hidden]
Date: 2010-06-12 11:13:51
Author: eric_niebler
Date: 2010-06-12 11:13:50 EDT (Sat, 12 Jun 2010)
New Revision: 62852
URL: http://svn.boost.org/trac/boost/changeset/62852
Log:
disable stupid nanny warning on msvc
Text files modified:
sandbox/SOC/2010/phoenix3/boost/phoenix/statement/if.hpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/statement/if.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/statement/if.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/statement/if.hpp 2010-06-12 11:13:50 EDT (Sat, 12 Jun 2010)
@@ -8,11 +8,17 @@
#ifndef PHOENIX_STATEMENT_IF_HPP
#define PHOENIX_STATEMENT_IF_HPP
+#include <boost/config.hpp>
#include <boost/phoenix/core/actor.hpp>
#include <boost/phoenix/core/compose.hpp>
#include <boost/phoenix/support/element_at.hpp>
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4355) // 'this' used in base member initializer list
+#endif
+
namespace boost { namespace phoenix
{
////////////////////////////////////////////////////////////////////////////
@@ -120,4 +126,8 @@
}}
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
#endif
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