1 Aug
2019
1 Aug
'19
12:01 p.m.
Hi,
snprintf() in VC 2010 had not supported "%zd" format.
So we can not use it in PyOS_snprintf, PySys_WriteStdout, etc...
But VC supports "%zd" format since (at least) VC 2015.
See https://docs.microsoft.com/en-us/cpp/c-runtime-library/format-specification-...
"%zd" is standard C99 feature. Can we assume it is portable for now?
Regards,
--
Inada Naoki