Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/librados: s/invoke_result_t/result_of_t/ #20379

Merged
merged 1 commit into from Feb 12, 2018

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Feb 9, 2018

to workaround buggy libc++ implementation. see
https://cplusplus.github.io/LWG/issue2807 . we should switch to
invoke_result_t once issue2807 is fixed in the latest release of
libc++.

Signed-off-by: Kefu Chai kchai@redhat.com

@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 9, 2018

retest this please

@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 9, 2018

retest this please.

@wjwithagen
Copy link
Contributor

@tchaikov
No having any luck.

I also tried including <functional> but it seems in the includes I'm using for building there is no invoke_result_t available, at all???

https://cplusplus.github.io/LWG/issue2807 sort of suggest that this can be/used to be an issue with Clang...

@wjwithagen
Copy link
Contributor

@tchaikov
My install of the jenkins machine is last update 1 okt 2017.
Looked a bit in newer sources and it seems that there might be some fixes in newer Clang stuff.
Will try to upgrade and see if that works.

@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 9, 2018 via email

to workaround buggy libc++ implementation. see
https://cplusplus.github.io/LWG/issue2807 . we should switch to
invoke_result_t once issue2807 is fixed in the latest release of
libc++.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov changed the title test/librados: include <type_traits> to fix build on FreeBSD test/librados: s/invoke_result_t/result_of_t/ Feb 9, 2018
@tchaikov
Copy link
Contributor Author

tchaikov commented Feb 9, 2018

@wjwithagen updated and repushed.

Copy link
Contributor

@wjwithagen wjwithagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov tchaikov merged commit 4021d2b into ceph:master Feb 12, 2018
@tchaikov tchaikov deleted the wip-test-fix-freebsd branch February 12, 2018 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants