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

Qt does not compile with gcc from svn.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.1
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      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

          Issue Links

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

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              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