Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88657

qtwebengine 5.15.2 doesn't build with GCC 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.15.2
    • WebEngine
    • None
    • Linux/X11

    Description

      In file included from gen/base/base_jumbo_12.cc:18:
      
      ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/metrics/sparse_histogram.cc:21:16: error: redefinition of ‘constexpr const char {anonymous}::kHtmlNewLine []’
      
         21 | constexpr char kHtmlNewLine[] = "<br>";
      
            |                ^~~~~~~~~~~~
      
      In file included from gen/base/base_jumbo_12.cc:5:
      
      ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/metrics/histogram.cc:39:16: note: ‘constexpr const char {anonymous}::kHtmlNewLine [5]’ previously defined here
      
         39 | constexpr char kHtmlNewLine[] = "<br>";
      
            |                ^~~~~~~~~~~~
      
      In file included from gen/base/base_jumbo_12.cc:18:
      
      ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/metrics/sparse_histogram.cc:22:16: error: redefinition of ‘constexpr const char {anonymous}::kAsciiNewLine []’
      
         22 | constexpr char kAsciiNewLine[] = "\n";
      
            |                ^~~~~~~~~~~~~
      
      In file included from gen/base/base_jumbo_12.cc:5:
      
      ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/metrics/histogram.cc:40:16: note: ‘constexpr const char {anonymous}::kAsciiNewLine [2]’ previously defined here
      
         40 | constexpr char kAsciiNewLine[] = "\n";
      
            |                ^~~~~~~~~~~~~
      
      
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            arojas Antonio Rojas
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes