Re: GCC 11 related build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/14/20 4:41 PM, Robert-André Mauchin 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;
>>       |   ~~~~^~~~~~~~
It's an upstream GCC bug:


https://gcc.gnu.org/PR98231 Marek just got back from some PTO today, I'm
sure he'll be on it relatively soon. Jeff
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux