Opened 10 years ago

Closed 6 years ago

#8286 closed Bugs (fixed)

boost::program_options headers leak warning settings (MSVC)

Reported by: Pavel Radzivilovsky <bugpwr@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

parsers.hpp and variables_map.hpp which do a pragma warning(push) without a corresponding pop.

This leaves warning C4251 disabled, which is a level 1 warning for the following user code.

Change History (1)

comment:1 by Vladimir Prus, 6 years ago

Resolution: fixed
Status: newclosed

This was fixed long ago

commit 76a62c1809b554d408c4955ce126d0bcedde21ed Author: Vladimir Prus <ghost@…> Date: Wed Oct 19 16:20:56 2011 +0000

Fix warning push/pop mismatch.

Fixes #5869.

[SVN r75064]

Note: See TracTickets for help on using tickets.