summaryrefslogtreecommitdiff
path: root/debian/patches/0200-disable-check-equal-stderr.patch
blob: 3f27ca5fc5f6d53afd8612d82802eb290657b43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Build fails on GCC12:
.
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const std::vector<long unsigned int>’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const std::vector<unsigned char>’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::Pixel’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::RawPixel’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::PixelFormat’)
.
Simply suppressing the print of the mismatch is the lowest effort workaround.
Author: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>
Bug: 1013034
Forwarded: No

--- a/testsuite/backend/genesys/minigtest.h
+++ b/testsuite/backend/genesys/minigtest.h
@@ -40,7 +40,6 @@
         s_num_failures++;
         std::cerr << "FAILURE at ";
         print_location(std::cerr, function, path, line);
-        std::cerr << " :\n" << t << " != " << u << "\n\n";
     } else {
         s_num_successes++;
         std::cerr << "SUCCESS at ";