[PATCH] D33896: Correct unittest build failures on NetBSD/GCC
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 5 12:04:01 PDT 2017
krytarowski added a comment.
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h: In instantiation of 'testing::Message& testing::Message::operator<<(const T&) [with T = llvm::StringRef]':
/public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:51:14: required from here
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: error: no match for 'operator<<' (operand types are 'std::__cxx11::basic_stringstream<char>' and 'const llvm::StringRef')
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/usr/include/g++/ostream:108:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}'
/usr/include/g++/ostream:117:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
operator<<(__ios_type& (*__pf)(__ios_type&))
^
/usr/include/g++/ostream:117:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}'
/usr/include/g++/ostream:127:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(ios_base& (*__pf) (ios_base&))
^
/usr/include/g++/ostream:127:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'std::ios_base& (*)(std::ios_base&)'
/usr/include/g++/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long __n)
^
/usr/include/g++/ostream:166:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'long int'
/usr/include/g++/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long __n)
^
/usr/include/g++/ostream:170:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'long unsigned int'
/usr/include/g++/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(bool __n)
^
/usr/include/g++/ostream:174:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'bool'
In file included from /usr/include/g++/ostream:638:0,
from /usr/include/g++/iterator:64,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^
/usr/include/g++/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'short int'
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned short __n)
^
/usr/include/g++/ostream:181:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'short unsigned int'
In file included from /usr/include/g++/ostream:638:0,
from /usr/include/g++/iterator:64,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^
/usr/include/g++/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'int'
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned int __n)
^
/usr/include/g++/ostream:192:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'unsigned int'
/usr/include/g++/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long long __n)
^
/usr/include/g++/ostream:201:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'long long int'
/usr/include/g++/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long long __n)
^
/usr/include/g++/ostream:205:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'long long unsigned int'
/usr/include/g++/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(double __f)
^
/usr/include/g++/ostream:220:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'double'
/usr/include/g++/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(float __f)
^
/usr/include/g++/ostream:224:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'float'
/usr/include/g++/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long double __f)
^
/usr/include/g++/ostream:232:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'long double'
/usr/include/g++/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(const void* __p)
^
/usr/include/g++/ostream:245:7: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'const void*'
In file included from /usr/include/g++/ostream:638:0,
from /usr/include/g++/iterator:64,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/ostream.tcc:119:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
basic_ostream<_CharT, _Traits>::
^
/usr/include/g++/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from 'const llvm::StringRef' to 'std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}'
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:55:6: note: candidate: void operator<<(const testing::internal::Secret&, int)
void operator<<(const testing::internal::Secret&, int);
^
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:55:6: note: no known conversion for argument 1 from 'std::__cxx11::basic_stringstream<char>' to 'const testing::internal::Secret&'
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:363:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
^
/usr/include/g++/iomanip:363:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: 'llvm::StringRef' is not derived from 'std::_Put_time<_CharT>'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:311:5: note: candidate: template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
^
/usr/include/g++/iomanip:311:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: 'llvm::StringRef' is not derived from 'std::_Put_money<_MoneyT>'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:238:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
^
/usr/include/g++/iomanip:238:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'std::_Setw'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:208:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
^
/usr/include/g++/iomanip:208:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'std::_Setprecision'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:178:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
^
/usr/include/g++/iomanip:178:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: 'llvm::StringRef' is not derived from 'std::_Setfill<_CharT>'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:143:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
^
/usr/include/g++/iomanip:143:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'std::_Setbase'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:109:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
^
/usr/include/g++/iomanip:109:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'std::_Setiosflags'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:56:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/usr/include/g++/iomanip:79:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags)
operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
^
/usr/include/g++/iomanip:79:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'std::_Resetiosflags'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:628:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = llvm::StringRef] <near match>
operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)
^
/usr/include/g++/ostream:628:5: note: conversion of argument 1 would be ill-formed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: error: cannot bind 'std::basic_ostream<char>' lvalue to 'std::basic_ostream<char>&&'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:574:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
^
/usr/include/g++/ostream:574:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'const unsigned char*'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:569:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
^
/usr/include/g++/ostream:569:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'const signed char*'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:556:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/usr/include/g++/ostream:556:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'const char*'
*ss_ << val;
^
In file included from /usr/include/g++/ostream:638:0,
from /usr/include/g++/iterator:64,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/ostream.tcc:321:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
^
/usr/include/g++/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'const char*'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:539:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
^
/usr/include/g++/ostream:539:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: mismatched types 'const _CharT*' and 'llvm::StringRef'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:519:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
^
/usr/include/g++/ostream:519:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'unsigned char'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:514:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
^
/usr/include/g++/ostream:514:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'signed char'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:508:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
operator<<(basic_ostream<char, _Traits>& __out, char __c)
^
/usr/include/g++/ostream:508:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'char'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:502:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
^
/usr/include/g++/ostream:502:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'char'
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/ostream:497:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
^
/usr/include/g++/ostream:497:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: deduced conflicting types for parameter '_CharT' ('char' and 'llvm::StringRef')
*ss_ << val;
^
In file included from /usr/include/g++/bits/ios_base.h:46:0,
from /usr/include/g++/ios:42,
from /usr/include/g++/ostream:38,
from /usr/include/g++/iterator:64,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/iterator_range.h:23,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/SmallVector.h:17,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/system_error:209:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
^
/usr/include/g++/system_error:209:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: cannot convert 'val' (type 'const llvm::StringRef') to type 'const std::error_code&'
*ss_ << val;
^
In file included from /usr/include/g++/memory:82:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/Support/Casting.h:21,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LLVM.h:22,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/shared_ptr.h:66:5: note: candidate: template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)
operator<<(std::basic_ostream<_Ch, _Tr>& __os,
^
/usr/include/g++/bits/shared_ptr.h:66:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: 'const llvm::StringRef' is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
*ss_ << val;
^
In file included from /usr/include/g++/string:52:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/CommentOptions.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/usr/include/g++/bits/basic_string.h:5172:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/usr/include/g++/bits/basic_string.h:5172:5: note: template argument deduction/substitution failed:
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/../Tooling/ReplacementTest.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:12:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: note: 'const llvm::StringRef' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
*ss_ << val;
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/VirtualFileSystem.h:22:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/FileManager.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Tooling/Core/Replacement.h:22,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/Support/Chrono.h:52:14: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::sys::TimePoint<>)
raw_ostream &operator<<(raw_ostream &OS, sys::TimePoint<> TP);
^
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/Support/Chrono.h:52:14: note: no known conversion for argument 1 from 'std::__cxx11::basic_stringstream<char>' to 'llvm::raw_ostream&'
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Triple.h:13:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/ObjCRuntime.h:19,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Basic/LangOptions.h:20,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Format/Format.h:18,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Format/FormatTest.cpp:10:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:543:23: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)
inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
^
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/Twine.h:543:23: note: no known conversion for argument 1 from 'std::__cxx11::basic_stringstream<char>' to 'llvm::raw_ostream&'
I don't know the answer, I use GCC and it's not true for everybody. The NetBSD buildbot currently does not run tests.
There are also other errors and I don't know the solution.
/public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp: In member function 'virtual void MultilibTest_SetRegexFilter_Test::TestBody()':
/public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp:248:64: error: 'class clang::driver::MultilibSet' has no member named 'str'
<< "Size before filter was incorrect. Contents:\n" << MS.str();
^
/public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp:248:68: error: return-statement with a value, in function returning 'void' [-fpermissive]
<< "Size before filter was incorrect. Contents:\n" << MS.str();
^
In file included from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/internal/gtest-internal.h:63:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest.h:58,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp:18:
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h: In instantiation of 'testing::Message& testing::Message::operator<<(const T&) [with T = clang::driver::MultilibSet]':
/public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp:251:60: required from here
/public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/gtest/gtest-message.h:131:10: error: no match for 'operator<<' (operand types are 'std::__cxx11::basic_stringstream<char>' and 'const clang::driver::MultilibSet')
*ss_ << val;
^
In file included from /usr/include/g++/iterator:64:0,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/.buildlink/include/llvm/ADT/STLExtras.h:25,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/include/clang/Driver/Multilib.h:14,
from /public/pkgsrc-tmp/wip/clang-netbsd/work/clang/unittests/Driver/MultilibTest.cpp:14:
/usr/include/g++/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
I went for local patches in this style:
--- unittests/Driver/MultilibTest.cpp.orig 2016-12-17 00:12:43.000000000 +0000
+++ unittests/Driver/MultilibTest.cpp
@@ -201,6 +201,7 @@ TEST(MultilibTest, SetConstruction2) {
MS.Maybe(Multilib("el").flag("+EL"));
ASSERT_TRUE(MS.size() == 4);
for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) {
+#if 0
ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
.Cases("", "/sof", "/el", "/sof/el", true)
@@ -220,6 +221,7 @@ TEST(MultilibTest, SetConstruction2) {
.Case("/sof/el", hasFlag(*I, "+EL"))
.Default(false))
<< "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";
+#endif
}
}
Repository:
rL LLVM
https://reviews.llvm.org/D33896
More information about the llvm-commits
mailing list