assume that runes are format (but not flags). this allows a format of Γ to yield this warning: 8c -FTVw vmx.c warning: vmx.c:2845 format mismatch 13Γ VLONG, arg 4 rather than the somewhat obtuse warning: vmx.c:2845 format mismatch 13 VLONG, arg 4 for the format "%13Γ". Reference: /n/sources/patch/applied/ccchkrune Date: Sat Feb 20 07:52:40 CET 2010 Signed-off-by: quanstro@quanstro.net --- /sys/src/cmd/cc/dpchk.c Sat Feb 20 07:49:49 2010 +++ /sys/src/cmd/cc/dpchk.c Sat Feb 20 07:49:48 2010 @@ -75,9 +75,9 @@ nstar = 0; for(;;) { s += chartorune(&c, s); + fmt += runetochar(fmt, &c); if(c == 0 || c >= nelem(flagbits)) break; - fmt += runetochar(fmt, &c); f = flagbits[c]; switch(f) { case Fnone: