[Boost-bugs] [Boost C++ Libraries] #1381: Mismatch BOOST_MSVC version check for #pragma warning(pop) in regex/v4/regex_token_iterator.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #1381: Mismatch BOOST_MSVC version check for #pragma warning(pop) in regex/v4/regex_token_iterator.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-26 11:39:05


#1381: Mismatch BOOST_MSVC version check for #pragma warning(pop) in
regex/v4/regex_token_iterator.hpp
-------------------------------------+--------------------------------------
 Reporter: m.champlon_at_[hidden] | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The check to test whether to #pragma warning(push) or not at the beginning
 of the file is :
 #if BOOST_WORKAROUND(BOOST_MSVC, > 1300)
 # pragma warning(push)
 # pragma warning(disable:4700)
 #endif

 However the test at the end of the file concerning #pragma warning(pop) is
 :
 #if BOOST_WORKAROUND(BOOST_MSVC, == 1310)
 # pragma warning(pop)
 #endif

 On platforms > 1310 (for instance vc80 is 1400) this yields to a pragma
 warning(push) never matched by its corresponding pragma warning(pop).

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1381>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC