Opened 15 years ago

Closed 14 years ago

#1793 closed Patches (fixed)

Error in iterator_range if NDEBUG is defined but BOOST_DISABLE_ASSERTS is not

Reported by: Stephan Owned by: Thorsten Ottosen
Milestone: To Be Determined Component: range
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

Attached patch fixes an error if NDEBUG is defined and BOOST_DISABLE_ASSERTS is not. This happens for us in "checked" builds. With optimizations enabled, but still several checks. Patch just uses the same define (BOOST_DISABLE_ASSERTS) for ifdeffing debug stuff that is used in the boost assertion.

Change History (1)

comment:1 by Thorsten Ottosen, 14 years ago

Resolution: fixed
Status: newclosed

This should be fixed now, please check with trunk.

-Thorsten

Note: See TracTickets for help on using tickets.