M
Mister B
I'm trying to detect a mismatch between the format string used by a
variable argument logging function and parameters passed in, e.g.:
raise_log ("Error val is %d %s", val);
I know that gcc -Wformat (implied by -Wall) can do this for standard
printf()-type functions; any suggestions for compiler options or other
tools for user functions?
M
variable argument logging function and parameters passed in, e.g.:
raise_log ("Error val is %d %s", val);
I know that gcc -Wformat (implied by -Wall) can do this for standard
printf()-type functions; any suggestions for compiler options or other
tools for user functions?
M