Boost logo

Boost :

From: Jorge Lodos (lodos_at_[hidden])
Date: 2007-04-09 11:55:53


Compiling shared_ptr.hpp with .Net 2.0 in VS2005 gives the warning:
warning C4793: 'vararg' : causes native code generation for function 'void
boost::detail::sp_enable_shared_from_this(const boost::detail::shared_count
&,...)
This is in fact an error which makes binary portability impossible.
 
This warning could be solved replacing the line
inline void sp_enable_shared_from_this( shared_count const & /*pn*/, ... )
with
inline void sp_enable_shared_from_this( shared_count const & /*pn*/, void
const *, void const * )

Is this reasonable to ask for this change in shared_ptr.hpp?
Thanks in advance.

Best regards
Jorge


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