danmar/cppcheck — comment on commit 93e3e7361ee8048a8c06198908dfd98ef1a3d5a7
File:  line 0
By kimmov:

> There is no source-file-name standard.

Exactly my point! There are just conventions used. And many compilers also default to certain extensions, but also allow overriding them. Eg. MS CL compiler allows to define C/C++ code with options `/Tc` and `/Tp`.

> We have --std=c99 and --std=c++11 for CLI already and in standards.h.

These are global, not file per file. Which is a problem already in project mixing C and C++?