Skip to contentSkip to conversation

Clang not happy with unittest_hostname

DISCUSSION Willem Jan Withagen 2 participants 4 messages Mar 2, 2017

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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_ONLY array;

--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

#2 lore raw
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_ONLY array;

--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

#3 lore raw
In reply to 刘畅
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_ONLY array;

--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