This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Function declaration warning does not include the function name
- From: "J. Grant" <jg-web at jguk dot org>
- To: gcc-bugs <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 11 Mar 2003 01:09:16 +0000
- Subject: Function declaration warning does not include the function name
Hello,
I added a new function without a prototype, the warning did not include
the function prototype name. Could the function prototype be added to
the warning message?
This is the output:
make[3]: Entering directory `/home/now3d/binutils-2.13.2.1/binutils'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd
-I./../bfd -I./../include -I./../intl -I../intl
-DLOCALEDIR="\"/home/now3d/re/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ./objdump.c
objdump.c:1788: warning: function declaration isn't a prototype
Line 1888 objdump.c:
static void
decompile_phase_one (abfd)
bfd *abfd;
Regards
JG
Please cc me in any replies.