Hi friends, Obviously appropriate printf-style format string usage is important in order to avoid undesired effects that will vary depending on the data type involved and the format string being used.
When the statement involved is actually a printf-family one some compilers will warn us about mismatched usage. But they will miss our infof() and failf() macros (actually Curl_infof() and Curl_failf() functions) and others which also use printf-style format strings. Manually verifying all usages of these is prohibitively time-consuming, and even if done, later changes of variables data types which do not verify if used in print-like statements would bring breakage back again. So. I wonder if someone has some some neat idea or code that could be used to verify if the printf-style format string used matches the one required for the data type being used or not. -- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
