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

Clang: .c files are treated as C++

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 3.6.0-beta1, Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • Creator 3.6.0-beta1 on OS X 10.11.1

      I am working with a generic project (created using New File or Project -> Import Project -> Import Existing Project).

      Files with a .c extension are treated as C+. Things that are valid in C but invalid in C+ are flagged as errors and highlighted in red in these files. (Examples: assigning void * to non void pointer; variable named 'new', etc.)

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

            kosjar Nikolai Kosjar
            szhorvat Szabolcs Horvát
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes