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

User-defined C source files are treated as C++

    XMLWordPrintable

Details

    Description

      I have a C compiler that uses the extension *.xc for it's input files.

      I've added that pattern to Tools > Options > Environment > MIME Types > "text/x-csrc", and switching between Header and Source with F4 works.

      My problem is, that Clang treats this file as C++ and therefore marks valid C statements as invalid.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes