Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2008-03-20 10:29:25


(repost)

> Release Candidate 1 is available at http://boost.cowic.de/rc/
>

C++ Builder 2007 (0x593, the latest) and boost::format produces an useless
warning in boost/format/alt_sstream_impl.hpp.

The warning is W8072 ("suspicious pointer conversion") and occures
on four places in the file.

 It could be safely supressed by adding:

 -------------
#include <boost/detail/workaround.hpp>
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x593))
# pragma warn -8072 // CG 2007: suspicious pointer conversion; on several
places within the file
#endif
 -----------

on the top of the file and

 -----------
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x593))
# pragma warn +8072
#endif
 -----------

on the bottom of the file.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk