5 ms·
Please don't. I once dealt with code like this and it becomes unreadable very quickly, especially if many different types are involved. However, if printk woul
by larsu 16y ago
Please don't. I once dealt with code like this and it becomes unreadable very quickly, especially if many different types are involved.
However, if printk would be declared with __attribute__((format(printf, 1, 2)) (I don't know if it is), gcc would warn if the format string contains specifiers which do not match the given types, regardless of any typedefs.