Opened 10 years ago

Last modified 10 years ago

#7385 new Bugs

Unused parameter causes compilation error

Reported by: lcarreon@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

When the compiler is set to treat warnings as errors, the line #253:

virtual void set_option_name(const std::string& option_name) {}

in the file program_options/errors.hpp, causes a compilation error.

Change History (1)

comment:1 by Deniz Bahadir <D.Bahadir@…>, 10 years ago

This is the same bug (#7049) I pointed out 3 months ago. It should be fixed in subversion. However, the fix seems not to be included in the latest release of Boost.

Note: See TracTickets for help on using tickets.