Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25146

QtCreator 4.14.0 build fails because using "interface" as variable name

    XMLWordPrintable

Details

    • Windows
    • 084944a96b79a822c670a389b53388996cf0548d (qt-creator/qt-creator/4.14)

    Description

      I am using MinGW-w64 8.0 / GCC 10.2.0 some header files define interface as struct, like

      #define interface struct

       

      but in file $\src\libs\sqlite\sqlitetransaction.h file

      multiple places using interface as variable name, it cause build fails,

      rename to other names works.

      maybe some mingw/gcc build can pass it, but it is still a risk to use potential keyword/reserved words as a variable name.

      Attachments

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

        Activity

          People

            con Eike Ziller
            dext dexter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes