Opened 4 years ago

Closed 4 years ago

#13602 closed Bugs (fixed)

Compiling has_plus_assign.hpp with VS2017 (15.7.1) generates the Warning C5032.

Reported by: alexander.frank.lehmann@… Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.67.0 Severity: Problem
Keywords: Cc:

Description

This ticket is split off ticket #13595.

When compiling 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 codeline:

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

Change History (1)

comment:1 by John Maddock, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in develop.

Note: See TracTickets for help on using tickets.