"Paul A. Bristow" <[EMAIL PROTECTED]> wrote: > > (And other MS specific unhelpful warnings which could be dealt with by > > #ifdef _MSC_VER or BOOST_? > #pragma warning (disable : 4800) // inefficient bool conversion? > #endif > > As a general point, is there any reason why 'known to be unhelpful' warnings > like this cannot be disabled in Boost code? >
A problem here is that the "inefficient bool conversion" often actually *is* an inefficient implicit conversion to bool. IME, most of these warnings can be removed by actually producing a bool value. Adding == 0 or != 0 is often all it takes. Bo Persson [EMAIL PROTECTED] _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost