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

Invalid syntax when using Qt Creator as C editor

XMLWordPrintable

      When editing C files Analyzer threats it as C++.

      When you use variable that name is the same as C++ reserved keyword (class, this, new, ...), you can see red underline: invalid syntax.

        1. qtcreator_c_1.png
          qtcreator_c_1.png
          34 kB
        2. qtcreator_c.png
          qtcreator_c.png
          32 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            erikv Erik Verbruggen
            loentar Dmitry Utkin
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes