[Bug 202581] Fix security/obfsclient build with clang 3.7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 22 22:53:22 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202581

--- Comment #1 from Dimitry Andric <dim at 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.


More information about the freebsd-ports-bugs mailing list