在 2020/6/12 20:38, Biswapriyo Nath 写道:
> Question. The removal of `int i` declaration may be added with
> wine-import.sh shell script by mistake. In wine, the int i variable is used
> in for loop. IMHO, how about editing the wine/widl code?
> 
> * Now: for (i = 0; i < ARRAY_SIZE(incl_dirs); i++)
> * Edited: for (int i = 0; i < ARRAY_SIZE(incl_dirs); i++)
> 
> The "Now" version seems to be coding style for wine. Yours opinion?
> 
> 

The declaration in for statements was added in C99. Probably Wine people prefer 
strict C89 (ANSI) conformance.


-- 
Best regards,
LH_Mouse

Attachment: 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

Reply via email to