Boost logo

Boost-Build :

From: Danh Kieu (danh_at_[hidden])
Date: 2008-01-08 17:00:20


Hi all,

I'm using boost_1_32_0 with RedHat EL 4 (gcc-3.4.6-9). When I tried to
compile my application which uses shared_ptr, I got a lot of warning:

/tools/boost/boost/shared_ptr.hpp:91: warning: inlining failed in call
to 'void boost::detail::sp_enable_shared_from_this(const
boost::detail::shared_count&, ...)': function not inlinable

/tools/boost/boost/shared_ptr.hpp:91: warning: inlining failed in call
to 'void boost::detail::sp_enable_shared_from_this(const
boost::detail::shared_count&, ...)': function body not available

When I removed the -Winline option, I don't have those warnings anymore.
But I would like to keep -Winline option. Does anyone has an idea how to
get rid of those warnings?

Thanks,
Danh


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk