https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416
Orion Poplawski <orion at cora dot nwra.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |orion at cora dot nwra.com --- Comment #3 from Orion Poplawski <orion at cora dot nwra.com> --- This change appears to break building of the score-p profiler at least with clang++ 7.0.1: /bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../build-libwrap -I./../src -I../../build-libwrap/../src -DLIBWRAP_BUILD -I../src/utils/include -I../../build-libwrap/../src/utils/include -I../../build-libwrap/../vendor/common/src/utils/include -g -O2 -c -o libscorep_tools_la-scorep_tools_dir.lo `test -f '../src/tools/lib/scorep_tools_dir.cpp' || echo '../../build-libwrap/'`../src/tools/lib/scorep_tools_dir.cpp libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../build-libwrap -I./../src -I../../build-libwrap/../src -DLIBWRAP_BUILD -I../src/utils/include -I../../build-libwrap/../src/utils/include -I../../build-libwrap/../vendor/common/src/utils/include -g -O2 -c ../../build-libwrap/../src/tools/lib/scorep_tools_dir.cpp -fPIC -DPIC -o .libs/libscorep_tools_la-scorep_tools_dir.o BUILDSTDERR: In file included from ../../build-libwrap/../src/tools/lib/scorep_tools_dir.cpp:19: BUILDSTDERR: In file included from ../../build-libwrap/../src/tools/lib/scorep_tools_dir.hpp:22: BUILDSTDERR: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/string:55: BUILDSTDERR: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/basic_string.h:40: BUILDSTDERR: /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:604:44: error: 'copy' is a protected member of 'std::__is_alloc_insertable_impl' BUILDSTDERR: : __is_alloc_insertable_impl::template copy<_Alloc> BUILDSTDERR: ^ BUILDSTDERR: /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:595:7: note: declared protected here BUILDSTDERR: using copy = decltype(_M_select<_Alloc, const _Tp&>(0)); BUILDSTDERR: ^ BUILDSTDERR: /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:616:44: error: 'move' is a protected member of 'std::__is_alloc_insertable_impl' BUILDSTDERR: : __is_alloc_insertable_impl::template move<_Alloc> BUILDSTDERR: ^ BUILDSTDERR: /usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:598:7: note: declared protected here BUILDSTDERR: using move = decltype(_M_select<_Alloc, _Tp>(0)); BUILDSTDERR: ^ Apparently just by including <string>