6.6.1.28 -msmart-io-format=fmt
When using smart-io the compiler is not able to detect the format string when it is a variable. -msmart-io-format can be used to tell the compiler which format specifiers to expect in such a string. For example:
printf(stderr,fmt,a,b,c);
can be compiled with -msmart-io-fmt=“%s%c%d” to define the default format and smart-io will generate code to match this set of format specifiers when it cannot determine the correct format specifiers at runtime.