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

qtxmlpatterns doesn't build on gcc 7.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.3
    • Fix Version/s: None
    • Component/s: XML: QtXmlPatterns
    • Labels:
      None
    • Environment:
      Linux
    • Commits:
      9a433d24c9d8d98b09457ff50fee96deafe45486

      Description

      /home/rutledge/dev/qt56/qtxmlpatterns/src/xmlpatterns/parser/qxslttokenizer.cpp: In member function ‘void QPatternist::XSLTTokenizer::queueSorting(bool, QPatternist::TokenSource::Queue*, bool)’:
      /home/rutledge/dev/qt56/qtxmlpatterns/src/xmlpatterns/parser/qxslttokenizer.cpp:2637:69: error: enum constant in boolean context [-Werror=int-in-bool-context]
                       if(QXmlStreamReader::Characters && whitespaceToSkip())
                                                                           ^
      

      https://codereview.qt-project.org/#/c/160994/ fixes it so I think we should cherry-pick that to 5.6.

        Attachments

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

          Activity

            People

            • Assignee:
              srutledg Shawn Rutledge
              Reporter:
              srutledg Shawn Rutledge
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes