在 2020/4/15 22:03, Jehan Pagès 写道:
> Hi!
> 
> 
> 
> Ok well I have also reported a patch upstream to json-c to disable this
> warning/error when building for Windows:
> https://github.com/json-c/json-c/pull/581
> 
> But ideally we should be able to compile with Mingw-w64 while having all
> warnings ON and promoted as errors. Would you know of a proper fix which
> could fix these warnings?
> 
You seem to have installed mingw-w64 headers in a custom location. In
the case of a standard installation, those are referenced as 'system
headers' by GCC so such warnings are suppressed. Probably you should
notify GCC about that.

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