Opened 7 years ago

Last modified 7 years ago

#11501 new Bugs

standard_callbacks: -Wreturn-type warning when building in release mode

Reported by: davido Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc: braden@…

Description

assert macro is replaced to void in release build mode. This leads to -Wreturn-type warning.

Attachments (1)

boost_1_59_0.property_tree.wreturn-type.patch (642 bytes ) - added by davido 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Braden McDaniel <braden@…>, 7 years ago

Cc: braden@… added

comment:2 by junk@…, 7 years ago

the same problem occurs in "case object:" which ends with assert(false); and now executes case key.

Note: See TracTickets for help on using tickets.