I'm wondering if there is a nice way to avoid gcc to scream about printf types : 'warning: format ‘%d’ expects argument of type ‘int’, but argument 12 has type foo'
This is pretty anoying when you know that you wrote 'typedef int foo' somewhere ...
Of course, I'm not looking for the gcc fix for that ( [-Wformat] ).
I would like to know if there is a way to avoid the warning WITHOUT casting each time of course!