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

Typo in /usr/include/qt4/QtTest/qtestxmlstreamer.h causes compiler errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.7.3
    • Testing: qtestlib
    • None
    • ff10b5288c18981c672429518d986d883626a2ef

    Description

      In the header file qt4/QtTest/qtestxmlstreamer.h:

      #ifndef QTESTXMLSTREAMER_H
      #define QTESXMLSTREAMER_H

      The defined macro QTESXMLSTREAMER_H (missed 'T' after QTES) should be
      QTESTXMLSTREAMER_H. For this reason the header is not reentrant by the
      compiler:

      ./usr/include/qt4/QtTest/qtestxmlstreamer.h:56: error: redefinition of 'class
      QTestXmlStreamer'
      /usr/include/qt4/QtTest/qtestxmlstreamer.h:57: error: previous definition of
      'class QTestXmlStreamer'

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            jupakari Juuso Pakarinen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes