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

Qt does not compile with gcc from svn.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.8.1
    • 4.8.0
    • Core: Other
    • None
    • 6d9bdc50

    Description

      It has been reported that compiling a Qt based project with current gcc from svn (upcoming 2.7) fails with

      error: inconsistent user-defined literal suffixes '_FILE_' and 'QTOSTRING' in string literal

      The problematic line is e.g.

      1. define QLOCATION "\0"_FILE":"QTOSTRING(LINE_)

      so _FILE_ can be interpreted as an string literal suffix of the new user defined literals before it is expanded as macro.

      Attachments

        1. qt-4.8.patch
          0.6 kB
          Laurent Rineau

        Issue Links

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

          Activity

            People

              hjk hjk
              hjk hjk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes