id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 974,spurious warning suppression code useful in shared_ptr.hpp,Paul A. Bristow,Peter Dimov,"#ifdef _MANAGED // C4793) // 'vararg' : causes native code generation for function 'void boost::detail::sp_enable_shared_from_this(const boost::detail::shared_count &,...)' // Avoid using vararg ... with a dummy. struct sp_any_pointer { template sp_any_pointer( T* ) {} }; inline void sp_enable_shared_from_this( shared_count const & /*pn*/, sp_any_pointer, sp_any_pointer ) { } #else // NOT managed. #ifdef sgi // Turn off: the last argument of the varargs function ""sp_enable_shared_from_this"" is unnamed # pragma set woff 3506 #endif inline void sp_enable_shared_from_this( shared_count const & /*pn*/, ... ) { } #ifdef sgi # pragma reset woff 3506 #endif #endif // _MANAGED",Bugs,closed,,smart_ptr,Boost 1.34.0,Cosmetic,fixed,shared_ptr spurious warning,