How to check that two format strings are compatible?
Checking if 2 printf() format strings are compatible is an exercise in format parsing. C, at least, has no standard run-time compare function such as: int format_cmp(const char *f1, const char *f2); // Does not exist Formats like “%d %f” and “%i %e” are obviously compatible in that both expect an int and float/double. Note: …