
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

Jorge Lodos wrote:
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.
Thanks for reminding me about this issue. We already went over it with Paul Bristow: http://lists.boost.org/Archives/boost/2007/01/115599.php but I apparently never got around to committing the actual patch... sorry. I'll fix it in the CVS as soon as possible.
participants (2)
-
Jorge Lodos
-
Peter Dimov