Opened 4 years ago
Closed 4 years ago
#13595 closed Bugs (duplicate)
Compiling Boost with VS2017 (15.7.1) generates the Warning C5032.
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.67.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When compiling iterator_range_core.hpp and has_plus_assign.hpp with "Microsoft Visual Studio Professional 2017 Version 15.7.1" the warning:
warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop) compiling ...
is generated. The warnings come from from this codelines:
has_plus_assign.hpp line 30:
29 #elif defined(BOOST_MSVC) 30 # pragma warning ( push ) 31 # pragma warning ( disable : 4018 4244 4547 4800 4804 4805 4913 4133) 32 # if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER, >= 140050000) 33 # pragma warning ( disable : 6334) 34 # endif 35 #endif
iterator_range_core.hpp line 21
20 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1500)) 21 #pragma warning( push ) 22 #pragma warning( disable : 4996 ) 23 #endif
Change History (3)
comment:2 by , 4 years ago
Replying to Kohei Takahashi:
You should break this issue into two to specify corresponding component(library); has_plus_assign came from type_traits and iterator_range_core came from range.
comment:3 by , 4 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
You should break this issue into two to specify corresponding component(library); has_plus_assign came from type_traits and iterator_range_core came from range.