On Mon, Dec 14, 2020 at 6:41 PM Robert-André Mauchin <zebo...@gmail.com> wrote:
>
>
> Hello,
>
> While building Googletest, I've encourtered this failure:
>
>
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:
> >  In instantiation of 'void 
> > testing_internal::DefaultPrintNonContainerTo(const T&, std::ostream*) [with 
> > T = {anonymous}::Y4mTestParam; std::ostream = std::basic_ostream<char>]':
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:465:49:
> >    required from 'void 
> > testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType<testing::internal::kPrintOther>,
> >  const T&, std::ostream*) [with T = {anonymous}::Y4mTestParam; std::ostream 
> > = std::basic_ostream<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:500:17:
> >    required from 'void testing::internal::PrintTo(const T&, std::ostream*) 
> > [with T = {anonymous}::Y4mTestParam; std::ostream = 
> > std::basic_ostream<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:676:12:
> >    required from 'static void 
> > testing::internal::UniversalPrinter<T>::Print(const T&, std::ostream*) 
> > [with T = {anonymous}::Y4mTestParam; std::ostream = 
> > std::basic_ostream<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:866:30:
> >    required from 'void testing::internal::UniversalPrint(const T&, 
> > std::ostream*) [with T = {anonymous}::Y4mTestParam; std::ostream = 
> > std::basic_ostream<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:794:19:
> >    required from 'static void 
> > testing::internal::UniversalTersePrinter<T>::Print(const T&, std::ostream*) 
> > [with T = {anonymous}::Y4mTestParam; std::ostream = 
> > std::basic_ostream<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:914:44:
> >    required from 'std::string testing::PrintToString(const T&) [with T = 
> > {anonymous}::Y4mTestParam; std::string = std::__cxx11::basic_string<char>]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h:585:28:
> >    required from 'void 
> > testing::internal::ParameterizedTestSuiteInfo<TestSuite>::RegisterTests() 
> > [with TestSuite = {anonymous}::Y4mVideoWriteTest]'
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h:536:8:
> >    required from here
> > /builddir/build/BUILD/aom-2.0.1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h:283:7:
> >  error: no match for 'operator<<' (operand types are 'std::ostream' {aka 
> > 'std::basic_ostream<char>'} and 'const {anonymous}::Y4mTestParam')
> >   283 |   *os << value;
> >       |   ~~~~^~~~~~~~
>
>

Just for reference, we *do* have a relatively up to date build of
googletest for things to use in our gtest[1] package that is supposed
to work with gcc11 already...

[1]: https://src.fedoraproject.org/rpms/gtest

-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to