This is the mail archive of the gcc-bugs@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]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]