string_view testsuite failures on AIX

David Edelsohn dje.gcc@gmail.com
Mon Nov 18 15:04:00 GMT 2013


experimental/string_view has two testsuite failures on AIX:

FAIL: experimental/string_view/capacity/1.cc (test for excess errors)
WARNING: experimental/string_view/capacity/1.cc compilation failed to
produce executable
FAIL: experimental/string_view/inserters/pod/10081-out.cc (test for
excess errors)
WARNING: experimental/string_view/inserters/pod/10081-out.cc
compilation failed to produce executable

I could not find any discussion after a quick check in libstdc++
mailing list and bugzilla. Are these known issues?

Details appended below.

Thanks, David


In file included from
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc:22:0:
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:
In instantiation of 'const size_type
std::experimental::basic_string_view<A<B> >::_S_max_size':
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
  required from 'constexpr
std::experimental::basic_string_view<_CharT, _Traits>::size_type
std::experimental::basic_string_view<_CharT, _Traits>::max_size()
const [with _CharT = A<B>; _Traits = std::char_traits<A<B> >;
std::experimental::basic_string_view<_CharT, _Traits>::size_type =
long unsigned int]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc:147:25:
  required from here
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
error: explicit instantiation of
'std::experimental::basic_string_view<A<B> >::_S_max_size' but no
definition available [-fpermissive]
       { return _S_max_size; }
                ^
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:
In instantiation of 'const size_type
std::experimental::basic_string_view<A<B> >::_S_max_size':
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
  required from 'constexpr
std::experimental::basic_string_view<_CharT, _Traits>::size_type
std::experimental::basic_string_view<_CharT, _Traits>::max_size()
const [with _CharT = A<B>; _Traits = std::char_traits<A<B> >;
std::experimental::basic_string_view<_CharT, _Traits>::size_type =
long unsigned int]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc:147:25:
  required from here
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
error: explicit instantiation of
'std::experimental::basic_string_view<A<B> >::_S_max_size' but no
definition available [-fpermissive]
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:
In instantiation of 'const size_type
std::experimental::basic_string_view<A<B> >::_S_max_size':
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
  required from 'constexpr
std::experimental::basic_string_view<_CharT, _Traits>::size_type
std::experimental::basic_string_view<_CharT, _Traits>::max_size()
const [with _CharT = A<B>; _Traits = std::char_traits<A<B> >;
std::experimental::basic_string_view<_CharT, _Traits>::size_type =
long unsigned int]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc:147:25:
  required from here
/tmp/20131117/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/experimental/string_view:162:16:
error: explicit instantiation of
'std::experimental::basic_string_view<A<B> >::_S_max_size' but no
definition available [-fpermissive]


/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc:75:22:
error: 'std::experimental::basic_string_view_view' should have been
declared inside 'std::experimental'
   std::experimental::basic_string_view_view<__gnu_test::pod_ushort>::_S_max_size;
                      ^
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc:75:22:
error: explicit instantiation of non-template 'const size_type
std::experimental::basic_string_view_view'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc:75:44:
error: expected ';' before '<' token
std::experimental::basic_string_view_view<__gnu_test::pod_ushort>::_S_max_size;
                                            ^



More information about the Libstdc++ mailing list