This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
"multiple storage classes" not clearly identified as cause of error
- From: "J. Grant" <jg-lists at jguk dot org>
- To: gcc-bugs <gcc-bugs at gcc dot gnu dot org>
- Date: Sun, 30 Mar 2003 18:31:45 +0100
- Subject: "multiple storage classes" not clearly identified as cause of error
Hello,
I accidentaly had "extern static int debug_new_insn;" instead of "extern
int debug_new_insn;"
gcc did not clearly identify the error (called Error 1 in the log),
normally it says "error: blar blar" etc I believe
Here is the log. Please include my email address in any replies.
JG
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd
-I./../include -I./../bfd -I./../intl -I../intl -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c mips-dis.c -o mips-dis.o
mips-dis.c:137: multiple storage classes in declaration of `debug_new_insn'
mips-dis.c: In function `decomp_get_insn_arg':
mips-dis.c:456: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:495: warning: unsigned int format, different type arg (arg 3)
mips-dis.c:507: warning: unsigned int format, different type arg (arg 3)
mips-dis.c:563: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:571: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:579: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:587: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:595: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:603: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:612: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:621: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:629: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:637: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:645: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:653: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:661: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:669: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:676: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:683: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:690: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:707: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:715: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:722: warning: unsigned int format, long unsigned int arg (arg 3)
mips-dis.c:731: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:738: warning: int format, long unsigned int arg (arg 3)
mips-dis.c:745: warning: int format, long unsigned int arg (arg 3)
mips-dis.c: In function `decomp_print_insn_mips':
mips-dis.c:1067: warning: unused variable `d'
make[3]: *** [mips-dis.lo] Error 1
make[3]: Leaving directory `/home/now3d/binutils-2.13.2.1/opcodes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/now3d/binutils-2.13.2.1/opcodes'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/now3d/binutils-2.13.2.1/opcodes'
make: *** [all-opcodes] Error 2