]> git.saurik.com Git - wxWidgets.git/commit
Fix format strings parsing to understand C99 %zu etc.
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Jul 2010 14:24:23 +0000 (14:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Jul 2010 14:24:23 +0000 (14:24 +0000)
commitb113edcdd7415269e4dacf0c31e0c5c92b5e6356
tree677fdf32d67711c6bf75461ef94dc4b2af7f9b9a
parent16c15822fe7ed425030315c1257595dc0d78731c
Fix format strings parsing to understand C99 %zu etc.

The parser used to understand only 'Z' specifier for size_t/ptrdiff_t,
which is non-standard libc5 extension. C99 defines 'z' for this purpose,
so use that. Compatibility with 'Z' is preserved.

Also support Visual C++'s non-standard 'I' modifier with the same
meaning.

Fixes #12192.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/private/wxprintf.h
tests/strings/vararg.cpp