Opened 4 years ago

Closed 4 years ago

#13646 closed Bugs (fixed)

Boost silently disables some compiler warnings.

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

Description

It seems some warnings (such as signed/unsigned mismatch) in Visual Studio no longer trigger after #including <boost/range/algorithm.hpp>. This seems to be caused by unbalanced push/pop of warning levels in these headers:

  • type_traits/has_minus.hpp
  • type_traits/has_minus_assign.hpp
  • type_traits/has_plus_assign.hpp

Attachments (1)

pop_warnings.patch (1.8 KB ) - added by daniel.geelen@… 4 years ago.
Patch to fix the problem

Download all attachments as: .zip

Change History (2)

by daniel.geelen@…, 4 years ago

Attachment: pop_warnings.patch added

Patch to fix the problem

comment:1 by John Maddock, 4 years ago

Resolution: fixed
Status: newclosed

Yup, now fixed.

Note: See TracTickets for help on using tickets.