
9 Apr
2007
9 Apr
'07
3:55 p.m.
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