Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-08-23 05:06:27


Author: johnmaddock
Date: 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
New Revision: 38864
URL: http://svn.boost.org/trac/boost/changeset/38864

Log:
Fixes track issue #775, see http://svn.boost.org/trac/boost/ticket/775.
All regex code should now compile warning free at level 4 with MSCV.
Text files modified:
   trunk/boost/regex/pattern_except.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/basic_regex.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/basic_regex_creator.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/basic_regex_parser.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/c_regex_traits.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/char_regex_traits.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/cpp_regex_traits.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/cregex.hpp | 28 ++++++++++++++++++++++++++++
   trunk/boost/regex/v4/iterator_traits.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/match_results.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/perl_matcher.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/perl_matcher_common.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/perl_matcher_non_recursive.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/perl_matcher_recursive.hpp | 22 ++++++++++++++++++++++
   trunk/boost/regex/v4/primary_transform.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/protected_call.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regbase.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_format.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_grep.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_iterator.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_match.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_merge.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_raw_buffer.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_replace.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_search.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_split.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_token_iterator.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_traits.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/regex_traits_defaults.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/states.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/sub_match.hpp | 14 ++++++++++++++
   trunk/boost/regex/v4/w32_regex_traits.hpp | 14 ++++++++++++++
   32 files changed, 470 insertions(+), 0 deletions(-)

Modified: trunk/boost/regex/pattern_except.hpp
==============================================================================
--- trunk/boost/regex/pattern_except.hpp (original)
+++ trunk/boost/regex/pattern_except.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -29,9 +29,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 #pragma warning(push)
@@ -74,9 +81,16 @@
 #pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/basic_regex.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex.hpp (original)
+++ trunk/boost/regex/v4/basic_regex.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP
 #define BOOST_REGEX_V4_BASIC_REGEX_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 #ifdef BOOST_MSVC
@@ -630,9 +637,16 @@
 
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/basic_regex_creator.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex_creator.hpp (original)
+++ trunk/boost/regex/v4/basic_regex_creator.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,16 @@
 #ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
 #define BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 # pragma warning(push)
@@ -1298,8 +1305,15 @@
 # pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif

Modified: trunk/boost/regex/v4/basic_regex_parser.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex_parser.hpp (original)
+++ trunk/boost/regex/v4/basic_regex_parser.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
 #define BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 namespace re_detail{
@@ -2082,8 +2089,15 @@
 } // namespace re_detail
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif

Modified: trunk/boost/regex/v4/c_regex_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/c_regex_traits.hpp (original)
+++ trunk/boost/regex/v4/c_regex_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -34,9 +34,16 @@
 }
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 
@@ -187,9 +194,16 @@
 
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/char_regex_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/char_regex_traits.hpp (original)
+++ trunk/boost/regex/v4/char_regex_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,16 @@
 #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
 #define BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 
@@ -59,9 +66,16 @@
 } // namespace deprecated
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif // include
 

Modified: trunk/boost/regex/v4/cpp_regex_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/cpp_regex_traits.hpp (original)
+++ trunk/boost/regex/v4/cpp_regex_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -42,9 +42,16 @@
 #include <istream>
 #include <ios>
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 #pragma warning(push)
@@ -1032,9 +1039,16 @@
 #pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/cregex.hpp
==============================================================================
--- trunk/boost/regex/v4/cregex.hpp (original)
+++ trunk/boost/regex/v4/cregex.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -32,9 +32,16 @@
 #include <stddef.h>
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 /* include these defs only for POSIX compatablity */
 #ifdef __cplusplus
@@ -176,9 +183,16 @@
 #define regex_t regex_tA
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef __cplusplus
 } // extern "C"
@@ -193,9 +207,16 @@
 #include <vector>
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 class RegEx;
 
@@ -280,9 +301,16 @@
    friend struct re_detail::pred4;
 };
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/iterator_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/iterator_traits.hpp (original)
+++ trunk/boost/regex/v4/iterator_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
 #define BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 namespace re_detail{
@@ -113,9 +120,16 @@
 } // namespace re_detail
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/match_results.hpp
==============================================================================
--- trunk/boost/regex/v4/match_results.hpp (original)
+++ trunk/boost/regex/v4/match_results.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP
 #define BOOST_REGEX_V4_MATCH_RESULTS_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 #ifdef BOOST_MSVC
@@ -404,9 +411,16 @@
 #endif
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/perl_matcher.hpp
==============================================================================
--- trunk/boost/regex/v4/perl_matcher.hpp (original)
+++ trunk/boost/regex/v4/perl_matcher.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -14,9 +14,16 @@
 
 #include <boost/regex/v4/iterator_category.hpp>
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 # pragma warning(push)
@@ -511,9 +518,16 @@
 
 } // namespace re_detail
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/perl_matcher_common.hpp
==============================================================================
--- trunk/boost/regex/v4/perl_matcher_common.hpp (original)
+++ trunk/boost/regex/v4/perl_matcher_common.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,16 @@
 #ifndef BOOST_REGEX_V4_PERL_MATCHER_COMMON_HPP
 #define BOOST_REGEX_V4_PERL_MATCHER_COMMON_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef __BORLANDC__
 # pragma option push -w-8008 -w-8066
@@ -949,9 +956,16 @@
 #ifdef __BORLANDC__
 # pragma option pop
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/perl_matcher_non_recursive.hpp
==============================================================================
--- trunk/boost/regex/v4/perl_matcher_non_recursive.hpp (original)
+++ trunk/boost/regex/v4/perl_matcher_non_recursive.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -22,10 +22,17 @@
 
 #include <new>
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
 #ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+#ifdef BOOST_MSVC
 # pragma warning(push)
 # pragma warning(disable: 4800)
 #endif
@@ -1366,9 +1373,16 @@
 # pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/perl_matcher_recursive.hpp
==============================================================================
--- trunk/boost/regex/v4/perl_matcher_recursive.hpp (original)
+++ trunk/boost/regex/v4/perl_matcher_recursive.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,21 @@
 #ifndef BOOST_REGEX_V4_PERL_MATCHER_RECURSIVE_HPP
 #define BOOST_REGEX_V4_PERL_MATCHER_RECURSIVE_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4800)
+#endif
 
 namespace boost{
 namespace re_detail{
@@ -823,10 +835,20 @@
 
 } // namespace re_detail
 } // namespace boost
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/primary_transform.hpp
==============================================================================
--- trunk/boost/regex/v4/primary_transform.hpp (original)
+++ trunk/boost/regex/v4/primary_transform.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,16 @@
 #ifndef BOOST_REGEX_PRIMARY_TRANSFORM
 #define BOOST_REGEX_PRIMARY_TRANSFORM
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
    namespace re_detail{
@@ -118,9 +125,16 @@
    } // namespace re_detail
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/protected_call.hpp
==============================================================================
--- trunk/boost/regex/v4/protected_call.hpp (original)
+++ trunk/boost/regex/v4/protected_call.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -20,9 +20,16 @@
 #ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP
 #define BOOST_REGEX_V4_PROTECTED_CALL_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 namespace re_detail{
@@ -60,8 +67,15 @@
 }
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif

Modified: trunk/boost/regex/v4/regbase.hpp
==============================================================================
--- trunk/boost/regex/v4/regbase.hpp (original)
+++ trunk/boost/regex/v4/regbase.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_REGBASE_HPP
 #define BOOST_REGEX_V4_REGBASE_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 //
@@ -154,9 +161,16 @@
 
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/regex_format.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_format.hpp (original)
+++ trunk/boost/regex/v4/regex_format.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -24,9 +24,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 //
 // Forward declaration:
@@ -625,9 +632,16 @@
    return result;
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_grep.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_grep.hpp (original)
+++ trunk/boost/regex/v4/regex_grep.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -22,9 +22,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 //
 // regex_grep:
@@ -131,9 +138,16 @@
 #endif
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_iterator.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_iterator.hpp (original)
+++ trunk/boost/regex/v4/regex_iterator.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -23,9 +23,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 template <class BidirectionalIterator,
           class charT,
@@ -177,9 +184,16 @@
    return regex_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits>(p.begin(), p.end(), e, m);
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_match.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_match.hpp (original)
+++ trunk/boost/regex/v4/regex_match.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -24,9 +24,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 //
 // proc regex_match
@@ -341,9 +348,16 @@
 #endif
 
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_merge.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_merge.hpp (original)
+++ trunk/boost/regex/v4/regex_merge.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -24,9 +24,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 template <class OutputIterator, class Iterator, class traits, class charT>
 inline OutputIterator regex_merge(OutputIterator out,
@@ -68,9 +75,16 @@
    return regex_replace(s, e, fmt, flags);
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_raw_buffer.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_raw_buffer.hpp (original)
+++ trunk/boost/regex/v4/regex_raw_buffer.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -31,9 +31,16 @@
 namespace boost{
    namespace re_detail{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 struct empty_padding{};
 
@@ -180,9 +187,16 @@
 }
 
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace re_detail
 } // namespace boost

Modified: trunk/boost/regex/v4/regex_replace.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_replace.hpp (original)
+++ trunk/boost/regex/v4/regex_replace.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -24,9 +24,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 template <class OutputIterator, class BidirectionalIterator, class traits, class charT>
 OutputIterator regex_replace(OutputIterator out,
@@ -97,9 +104,16 @@
    return result;
 }
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_search.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_search.hpp (original)
+++ trunk/boost/regex/v4/regex_search.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -22,9 +22,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 template <class BidiIterator, class Allocator, class charT, class traits>
 bool regex_search(BidiIterator first, BidiIterator last,
@@ -192,9 +199,16 @@
 
 #endif // partial overload
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_split.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_split.hpp (original)
+++ trunk/boost/regex/v4/regex_split.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -23,9 +23,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 # pragma warning(push)
@@ -147,9 +154,16 @@
 # pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_token_iterator.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_token_iterator.hpp (original)
+++ trunk/boost/regex/v4/regex_token_iterator.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -36,9 +36,16 @@
 
 namespace boost{
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 #if BOOST_WORKAROUND(BOOST_MSVC, > 1300)
 # pragma warning(push)
 # pragma warning(disable:4700)
@@ -315,9 +322,16 @@
 #if BOOST_WORKAROUND(BOOST_MSVC, == 1310)
 # pragma warning(pop)
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 } // namespace boost
 

Modified: trunk/boost/regex/v4/regex_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_traits.hpp (original)
+++ trunk/boost/regex/v4/regex_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -56,9 +56,16 @@
 #include "boost/mpl/has_xxx.hpp"
 #include <boost/static_assert.hpp>
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 
@@ -167,9 +174,16 @@
 
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif // include
 

Modified: trunk/boost/regex/v4/regex_traits_defaults.hpp
==============================================================================
--- trunk/boost/regex/v4/regex_traits_defaults.hpp (original)
+++ trunk/boost/regex/v4/regex_traits_defaults.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_TRAITS_DEFAULTS_HPP_INCLUDED
 #define BOOST_REGEX_TRAITS_DEFAULTS_HPP_INCLUDED
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifndef BOOST_REGEX_SYNTAX_TYPE_HPP
 #include <boost/regex/v4/syntax_type.hpp>
@@ -310,8 +317,15 @@
 } // re_detail
 } // boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif

Modified: trunk/boost/regex/v4/states.hpp
==============================================================================
--- trunk/boost/regex/v4/states.hpp (original)
+++ trunk/boost/regex/v4/states.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_STATES_HPP
 #define BOOST_REGEX_V4_STATES_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 namespace re_detail{
@@ -267,9 +274,16 @@
 
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/sub_match.hpp
==============================================================================
--- trunk/boost/regex/v4/sub_match.hpp (original)
+++ trunk/boost/regex/v4/sub_match.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -19,9 +19,16 @@
 #ifndef BOOST_REGEX_V4_SUB_MATCH_HPP
 #define BOOST_REGEX_V4_SUB_MATCH_HPP
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 namespace boost{
 
@@ -487,9 +494,16 @@
 
 } // namespace boost
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #endif
 

Modified: trunk/boost/regex/v4/w32_regex_traits.hpp
==============================================================================
--- trunk/boost/regex/v4/w32_regex_traits.hpp (original)
+++ trunk/boost/regex/v4/w32_regex_traits.hpp 2007-08-23 05:06:24 EDT (Thu, 23 Aug 2007)
@@ -35,9 +35,16 @@
 #include <boost/regex/pending/object_cache.hpp>
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_PREFIX
 #endif
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 #ifdef BOOST_MSVC
 #pragma warning(push)
@@ -710,8 +717,15 @@
 #pragma warning(pop)
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable: 4103)
+#endif
 #ifdef BOOST_HAS_ABI_HEADERS
 # include BOOST_ABI_SUFFIX
 #endif
+#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