shanky <shashank.gugalia@xxxxxxxxx> writes: > When we pass variable arguments to printf , and compiles the code it > compiles without any problem but when we use -Wall options it catch the > mismatch. I just want to know where I can found that piece of code which > does this all checking. This particular warning is -Wformat, which is turned on by -Wall. The code to implement -Wformat is mostly in the file gcc/c-format.c. Ian