How do I work around the “unknown conversion type character `z' in format” compiler-specific warning?
问题 I'm working on code that is cross-compiled to several target architectures. I looked at the handful of hits from searching Stack Overflow for "printf size_t unknown conversion type character" warning, however those posts all seem to be related to minGW , so those answers, essentially ifdef ing against _WIN32 , do not apply to my instance of essentially the same problem, i.e. printf not recognizing " %zu " as the format-specifier for size_t , but with a mips cross compiler. Is there an