Opened 12 years ago

Closed 11 years ago

#4448 closed Bugs (fixed)

property_tree error while compiling with BOOST_DISABLE_ASSERTS

Reported by: Danil Ilinykh <woodroof@…> Owned by: Sebastian Redl
Milestone: Boost 1.44.0 Component: property_tree
Version: Boost 1.43.0 Severity: Problem
Keywords: property_tree assert BOOST_ASSERT BOOST_DISABLE_ASSERTS Cc:

Description

Error: property_tree/string_path.hpp:200: error: ‘assert’ was not declared in this scope

Change History (4)

comment:1 by Ilya S. Ivanov <ivanov.ilya.sergeevich@…>, 12 years ago

Still actual in 1.44.0 Workaround - comment out that line with assert.

comment:2 by Danil Ilinykh <woodroof@…>, 12 years ago

Or replace "assert" for "BOOST_ASSERT" in file string_path.hpp, line 200 (boost version 1.44).

comment:3 by Sebastian Redl, 12 years ago

(In [68993]) Erase assert() in favor of BOOST_ASSERT() in all PTree files, including RapidXML. See bug 4448.

comment:4 by Sebastian Redl, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r71992.

Note: See TracTickets for help on using tickets.