Sorry... I sent the last post but I forgot this: The following pragmas turn off the warnings about "condition is always 'true/false" and "unreachable code" on Borland:
int foo() {
#if BOOST_WORKAROUND(__BORLANDC__)
#pragma option push -w-ccc -w-rch
#endif
if ( true )
return 2 ;
return 0 ;
#if BOOST_WORKAROUND(__BORLANDC__)
#pragma option pop
#endif
}
--
Fernando Cacciola
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
