This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
format argument warnings
- To: gcc at gcc dot gnu dot org
- Subject: format argument warnings
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Mon, 25 Jun 2001 05:09:59 -0500 (EST)
- Cc: lucier at math dot purdue dot edu (Brad Lucier)
It seems that these types of warnings are multiplying, like hangers
at the bottom of a closet; this is from today's mainline:
/home/lucier/source/gcc/gcc-3.1/gcc/libgcc2.c: In function `__bb_exit_func':
/home/lucier/source/gcc/gcc-3.1/gcc/libgcc2.c:1570: warning: long int format, different type arg (arg 6)
/home/lucier/source/gcc/gcc-3.1/gcc/predict.c: In function `dump_prediction':
/home/lucier/source/gcc/gcc-3.1/gcc/predict.c:200: warning: double format, different type arg (arg 3)
/home/lucier/source/gcc/gcc-3.1/gcc/dwarf2out.c: In function `output_call_frame_info':
/home/lucier/source/gcc/gcc-3.1/gcc/dwarf2out.c:1891: warning: int format, long unsigned int arg (arg 4)
I already suggested a fix for the last one which has been studiously
ignored, I don't know what is intended for the second one.
Brad