Boost logo

Boost Users :

Subject: [Boost-users] Valgrind false positive in make_shared
From: Dave Steffen (dave.steffen_at_[hidden])
Date: 2010-11-29 15:47:29


> Date: Thu, 18 Nov 2010 19:51:55 +0200
> From: "Peter Dimov" <pdimov_at_[hidden]>
>
> Dave Steffen wrote:
> > I got this bad behavior with GCC 4.4.4. It goes away with GCC 4.2.4.
>
> What is the definition of std::forward in GCC 4.4.4? What happens if you
>
> change boost::detail::sp_forward in make_shared.hpp:150:
> ::new( pv ) T( boost::detail::sp_forward<Arg1>( arg1 ),
>
> boost::detail::sp_forward<Args>( args )... );
>
> to std::forward, do you get a compile warning on this line and does
> Valgrind still warn?

  Hi

  Coming back to this issue after a week or two... trying the above
  made no difference: no compiler warnings, and no change in
  Valgrind's error messages.

  Any thoughts? Thanks!

-- 
Dave Steffen, Ph.D. - Software Engineer
Numerica Corporation <http://www.numerica.us>
4850 Hahns Peak Drive, Suite 200
Loveland, Colorado 80538
main (970) 461-2000 x 227   direct (970) 612-2327
Email: dave.steffen_at_[hidden]
fax (970) 461-2004
This message and any attachments are intended only for the individual
or entity to which the message is addressed.  This is a private
message and may contain privileged information.  If you are neither
the intended recipient nor the agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
review, retransmission, dissemination, or taking of any action in
reliance upon, the information in this communication is strictly
prohibited, and may be unlawful.  If you feel you have received this
communication in error, please notify me immediately by returning this
email to me and deleting it from your computer.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net