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

qtxmlpatterns doesn't build on gcc 7.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.3
    • XML: QtXmlPatterns
    • None
    • Linux
    • 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

            srutledg Shawn Rutledge
            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