|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-06-30 16:55:02
Pavel Vozenilek wrote:
> Borland C++ 6.4 emits a warning (in release mode) for function
> add_ref_lock() from sp_counted_base_w32.hpp
> ("cannot expand it inline because of for inside").
>
> I use CVS version few weeks old.
>
> Wrapping the function with #pragma helps:
> -----------------
> #include <boost/detail/workaround.hpp>
> ....
> #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
> # pragma warn -8027 // function with "for" is not expanded inline
> #endif
This rings a bell. There is a pragma, but it comes a bit too late in
shared_count.hpp. Moved.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk