Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2015 22:53:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202581] Fix security/obfsclient build with clang 3.7.0
Message-ID:  <bug-202581-13-YTkQCLVRfi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202581-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202581-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202581

--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
During the exp-run in bug 201377, it was found that security/obfsclient gives
errors with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/obfsclient-0.0.2_1.log

This is because the program calls std::move() in a few situations where it is
detrimental to performance, because moving a temporary object prevents copy
elision.  The attached patch removes those std::move() calls.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202581-13-YTkQCLVRfi>