Boost C++ Libraries: Ticket #999: prg_exec_fail3 fails on release variant https://svn.boost.org/trac10/ticket/999 <p> prg_exec_fail3 depends on assert() for failure... doesn't work when -DNDEBUG is on: </p> <p> int cpp_main( int, char *[] ) <em> note the name { </em></p> <blockquote> <p> int div = 0; </p> </blockquote> <blockquote> <p> assert( div != 0 ); </p> </blockquote> <p> #if NDEBUG </p> <blockquote> <p> printf("assert check turned off under NDEBUG\n"); return 1; </p> </blockquote> <p> #endif </p> <blockquote> <p> return 0; </p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/999 Trac 1.4.3 Dave Abrahams Wed, 11 Jul 2007 01:10:44 GMT owner set https://svn.boost.org/trac10/ticket/999#comment:1 https://svn.boost.org/trac10/ticket/999#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Gennadiy Rozental</span> </li> </ul> Ticket Gennadiy Rozental Sat, 03 Nov 2007 00:37:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/999#comment:2 https://svn.boost.org/trac10/ticket/999#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket