On 9-2-2018 16:37, kefu chai wrote: > On Fri, Feb 9, 2018 at 11:36 AM, kefu chai <tchaikov@xxxxxxxxx> wrote: >> On Thu, Feb 8, 2018 at 11:19 PM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: >>> Hi Kefu, >>> >>> Clang complains since your commit: >>> https://github.com/ceph/ceph/commit/0e0d0cd8d1adee998109c2714ed04f43b3212d7e >>> >>> about: >>> /home/jenkins/workspace/ceph-master/src/test/librados/lock.cc:24:33: >>> error: no template named 'invoke_result_t' in namespace 'std' >>> typename Return = std::invoke_result_t<Func, Args...>> >>> ~~~~~^ >>> 1 error generated. >>> gmake[2]: *** >>> [src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/build.make:63: >>> src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o] Error 1 >>> >>> Suggestions on how to fix this? >>> >> >> could you give a spin of https://github.com/ceph/ceph/pull/20379 ? >> sorry for the inconvenience. > > > also, what is your clang version? Clang is 5.0 on the jenkins box. So it should do most/all c++17 stuff. But I guess the problem is in the includes... grepping in invoke_result_t gave a hit in the .svn source tree, so I guess I just might need to install the most recent updates. --WjW % clang -v FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html