在 2019/3/15 0:18, Biswapriyo Nath 写道: > Should I edit the include headers? I've copied from Windows SDK. > > >
Please do not copy headers from Windows SDKs. Doing this might violate Microsoft licenses, and some of their code might not compile with GCC. Before submitting a patch, make sure the header can be compiled cleanly as C and C++ where appropriate without any warnings (particularity about this patch, the `#pragma region` thing should be removed). This can be done with `gcc -x <language> <some_header.h> -c -o nul -Wall -Wextra` where <language> is either `c` or `c++`. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public