That "%ldd" should be "%lld"
- New version corrects "%lld"
This was a great pain to debug in msys2, but it turns out that %zu is valid format specifier for printf() (which we used in configure test), but not for our function declared with attribute((format(printf, ...)))
I have other fixes to this as well. Will submit a new version later.
New patch version
- Make sure that the build test has -Wall and -Werror set so that it fails for specifiers for which it should
- Added "checking..." outputs
- In the compilation test, call function defined with attribute((format(printf, ...))) instead of printf()
Crosser based build fails with the current patch version. It would expect "%I64d"
Support for "%I64d" added in latest version
For better support of using size_t variables in the printf() family of functions, add a configure check for determining which kind of specifier should be used for them. This ticket is about autotools implementation, though care should be taken not to completely break meson build.
As part of #43200, this has also been posted to http://forum.freeciv.org/f/viewtopic.php?f=14&t=92093