kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43178
Re: Printing size_t on MSW (%zu)
On 2020-01-02 17:19, Jon Evans wrote:
Hi all,
Context:
https://gitlab.com/kicad/code/kicad/merge_requests/28#note_264910682
I have heard there are issues using "%zu" format specifier on
Windows/mingw, because mingw links against a very old Windows library
that does not support the C99 standard.
I have also heard that this isn't an issue anymore because of
__USE_MINGW_ANSI_STDIO in wxWidgets.
I tried to reproduce this problem on my Windows 10 machine but couldn't
-- using %zu works fine.
Does anyone know if this is still a problem on any of our supported
platforms?
Thanks,
-Jon
I learned that this was a problem from JP. See commit
https://gitlab.com/kicad/code/kicad/commit/17b18637f
Perhaps he can shed some light on the specifics.
-S
Seth Hillbrand
KiCad Services Corporation
https://www.kipro-pcb.com
+1 530 302 5483 | +1 212 603 9372
Follow ups
References