This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

cvs tracepoint.c build error


What I got:
gcc -g   -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1  -DGDBTK  -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wunused-value -Wno-switch -Wno-char-subscripts -Werror -c -o
tracepoint.o -MT tracepoint.o -MMD -MP -MF .deps/tracepoint.Tpo
../../src/gdb/tracepoint.c
cc1: warnings being treated as errors
../../src/gdb/tracepoint.c: In function 'trace_status_command':
../../src/gdb/tracepoint.c:1651: error: format '%d' expects type
'int', but argument 2 has type 'size_t'
make[2]: *** [tracepoint.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/bgdbno/gdb'

Thanks,
Hui


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