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

Invalid syntax when using Qt Creator as C editor

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        1. qtcreator_c_1.png
          qtcreator_c_1.png
          34 kB
        2. qtcreator_c.png
          qtcreator_c.png
          32 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes