On Sat, Apr 4, 2020 at 1:04 AM Biswapriyo Nath <[email protected]> wrote:
>
> The coding style is different in many files in mingw-w64 headers and crt.
> Is it possible to add a rule to enforce a consistent coding style across
> all the source file? For example, using clang-fromat, editorconfig etc.
> lightweight tools?

Most of the code developed specifically for this project (ie,
winpthreads) is supposed to be in GNU format.  Code that is from the
header set is a mixture of inheritance from mingw.org and a result of
the whitebox porting of MS headers that was done.  Other code is
directly imported from other projects, such as Wine.  In many cases,
these self-inconsistencies are intentional to be compatible with these
external projects.  It's not a simple matter of saying "apply this
ruleset" as it might be in a small, self-contained project.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to