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

C++ keywords get highlighted and cause syntax errors in C files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.2.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      C++ keywords should not get highlighted and cause syntax errors in plain C files:

      test.c
      #include <stdio.h>
      
      int main(void)
      {
          int class = 1;
          printf("%d\n", class);
          return 0;
      }
      

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            eszlari Peter Eszlari
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes