Opened 15 years ago
Closed 15 years ago
#1381 closed Bugs (fixed)
Mismatch BOOST_MSVC version check for #pragma warning(pop) in regex/v4/regex_token_iterator.hpp
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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).
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | regex_token_iterator.hpp.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in SVN Trunk.
Targeted for Boost-1.35: thanks for the report.