Important: Please read the Qt Code of Conduct -

How to configure a pure C project?

  • In QT Creator 4.0.1, how to configure a non-QT project (i.e. with project.config, project.files, project.includes) to analyze code with only C (and not C++) in mind.

    For example, in C this warning should not appear.

    I guess there is something to configure in the clang code model but I can't figure it out where.