Subject: [Boost-bugs] [Boost C++ Libraries] #999: prg_exec_fail3 fails on release variant
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-27 12:36:19
#999: prg_exec_fail3 fails on release variant
----------------------------+-----------------------------------------------
Reporter: troy | Owner:
Type: Patches | Status: new
Milestone: | Component: test
Version: release 1.34.0 | Severity: Problem
Keywords: |
----------------------------+-----------------------------------------------
prg_exec_fail3 depends on assert() for failure... doesn't work when
-DNDEBUG is on:
int cpp_main( int, char *[] ) // note the name
{
int div = 0;
assert( div != 0 );
#if NDEBUG
printf("assert check turned off under NDEBUG\n");
return 1;
#endif
return 0;
}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/999>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC