Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75064 - trunk/boost/program_options
From: ghost_at_[hidden]
Date: 2011-10-19 12:20:57


Author: vladimir_prus
Date: 2011-10-19 12:20:56 EDT (Wed, 19 Oct 2011)
New Revision: 75064
URL: http://svn.boost.org/trac/boost/changeset/75064

Log:
Fix warning push/pop mismatch.

Fixes #5869.

Text files modified:
   trunk/boost/program_options/parsers.hpp | 4 ++++
   trunk/boost/program_options/variables_map.hpp | 4 ++++
   2 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/boost/program_options/parsers.hpp
==============================================================================
--- trunk/boost/program_options/parsers.hpp (original)
+++ trunk/boost/program_options/parsers.hpp 2011-10-19 12:20:56 EDT (Wed, 19 Oct 2011)
@@ -260,6 +260,10 @@
 
 }}
 
+#if defined(BOOST_MSVC)
+# pragma warning (pop)
+#endif
+
 #undef DECL
 
 #include "boost/program_options/detail/parsers.hpp"

Modified: trunk/boost/program_options/variables_map.hpp
==============================================================================
--- trunk/boost/program_options/variables_map.hpp (original)
+++ trunk/boost/program_options/variables_map.hpp 2011-10-19 12:20:56 EDT (Wed, 19 Oct 2011)
@@ -211,4 +211,8 @@
 
 }}
 
+#if defined(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