My company uses a massive makefile which uses CC to compile, not gcc. I would like to use the -Wformat
flag to show errors where types in printf
and sprintf
don't match with the provided arguments.
Does anyone know a similar flag in CC which will provide this functionality? The task currently compiles fine, yet I know for a fact there are mismatched types in 100's of places, I need to find them.
I am compiling on Sun architecture.
Thanks!