Clang not happy with unittest_hostname
This is with Clang on FreeBSD:
[100%] Building CXX object src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.cc.o /home/jenkins/workspace/ceph-master/src/test/common/test_hostname.cc:34:27:
error: implicit instantiation of undefined template 'std::__1::array<char, 128>'
std::array<char, 128> buffer;
^/usr/include/c++/v1/__tuple:198:65: note: template is declared here template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array;
--WjW
I will fix it soon, thanks
发自我的 iPhone
Quoted 19 lines · 在 2017年3月2日,08:54,Willem Jan Withagen <[email protected]> 写道:
This is with Clang on FreeBSD:
[100%] Building CXX object
src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.cc.o/home/jenkins/workspace/ceph-master/src/test/common/test_hostname.cc:34:27:
error: implicit instantiation of undefined template 'std::__1::array<char, 128>'std::array<char, 128> buffer; ^
/usr/include/c++/v1/__tuple:198:65: note: template is declared here template <class_Tp,size_t_Size> struct_LIBCPP_TYPE_VIS_ONLYarray;--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · 刘畅
I will fix it soon, thanks
Thanx,
If you have some code to run thru Clang, just let me know.
--WjW
Quoted 21 lines
发自我的 iPhone
Quoted 19 lines · 在 2017年3月2日,08:54,Willem Jan Withagen <[email protected]> 写道:
This is with Clang on FreeBSD:
[100%] Building CXX object
src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.cc.o/home/jenkins/workspace/ceph-master/src/test/common/test_hostname.cc:34:27:
error: implicit instantiation of undefined template 'std::__1::array<char, 128>'std::array<char, 128> buffer; ^
/usr/include/c++/v1/__tuple:198:65: note: template is declared here template <class_Tp,size_t_Size> struct_LIBCPP_TYPE_VIS_ONLYarray;--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · 刘畅
I will fix it soon, thanks
See
<http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/364/display/redirect>
--WjW
Quoted 22 lines
发自我的 iPhone
Quoted 19 lines · 在 2017年3月2日,08:54,Willem Jan Withagen <[email protected]> 写道:
This is with Clang on FreeBSD:
[100%] Building CXX object
src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.cc.o/home/jenkins/workspace/ceph-master/src/test/common/test_hostname.cc:34:27:
error: implicit instantiation of undefined template 'std::__1::array<char, 128>'std::array<char, 128> buffer; ^
/usr/include/c++/v1/__tuple:198:65: note: template is declared here template <class_Tp,size_t_Size> struct_LIBCPP_TYPE_VIS_ONLYarray;--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html