Thank you for showing the right direction. I shall remember this. By the
way, I have not copy-paste the whole file.

On Thursday, March 14, 2019, Liu Hao <[email protected]> wrote:
> 在 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
>
>

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

Reply via email to