在 2020/5/8 3:08, Martin Storsjö 写道:
> This fixes lots of warnings like these:
> 
> stdio/snprintf.c:9:13: warning: no previous prototype for function 
> '__ms_snprintf' [-Wmissing-prototypes]
> stdio/vwscanf.c:15:10: warning: implicit declaration of function 
> '__ms_vfwscanf' is invalid in C99 [-Wimplicit-function-declaration]
> 
> Signed-off-by: Martin Storsjö <[email protected]>
> ---
> It would be enough to set this flag when building the files in
> stdio/ though. Or we could just make this flag specific to libmingwex.a.
> 
> But I don't think there's any harm in setting it globally for the
> whole crt - this is the default mode in how these sources were
> expected to be compiled before anyway.
> ---
>  mingw-w64-crt/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

LGTM, too.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to