diff options
author | dim <dim@FreeBSD.org> | 2016-10-31 18:37:44 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2016-10-31 18:37:44 +0000 |
commit | dc8c996eda80430f00b4d7ceb51805712c6993a6 (patch) | |
tree | 929076f5529761047b23394e0a1503eb054b04ae /usr.bin/ipcs | |
parent | 511b1e518de4b412859ed697223b0680087f65b1 (diff) | |
download | FreeBSD-src-dc8c996eda80430f00b4d7ceb51805712c6993a6.zip FreeBSD-src-dc8c996eda80430f00b4d7ceb51805712c6993a6.tar.gz |
Pull in r228705 from upstream libc++ trunk (by Eric Fiselier):
[libcxx] Fix PR 22468 - std::function<void()> does not accept
non-void-returning functions
Summary:
The bug can be found here: https://llvm.org/bugs/show_bug.cgi?id=22468
`__invoke_void_return_wrapper` is needed to properly handle calling a
function that returns a value but where the std::function return type
is void. Without this '-Wsystem-headers' will cause
`function::operator()(...)` to not compile.
Reviewers: eugenis, K-ballo, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D7444
This should allow newer versions of the graphics/aseprite port to
compile without modification.
Direct commit to stable/10, since stable/11 and head already have this
change.
Reported by: yuri@rawbw.com
PR: 213773
Diffstat (limited to 'usr.bin/ipcs')
0 files changed, 0 insertions, 0 deletions