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

Clang: .c files are treated as C++

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • 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

    Description

      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.)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: