Hi, compiling the kernel with -Wno-format is annoying for development and hides real bugs. It seems gcc has attribute format kprintf since a few years already. What is missing until we can remove -Wno-format? Any pointers to prior discussions about this?
AFAICS, things that remain to be done are: - use z format modifier for size_t - use PRIx32 and friends for uint32_t and friends - define a few macros for special types, e.g. bus_addr_t and time_t and use them - fix the remaining bugs Is there anything else? Do all used gcc versions support 'z' for size_t? Maybe a useful first step would be to remove -Wno-format and use -Wno- error=format instead? Cheers, Stefan