|
Boost : |
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2003-02-18 16:04:20
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk