This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
shanky <shashank.gugalia@gmail.com> 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |