Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: gdb@sourceware.org
Cc: Stan Shebs <stan@codesourcery.com>
Subject: cvs tracepoint.c build error
Date: Sat, 16 Jan 2010 14:40:00 -0000	[thread overview]
Message-ID: <daef60381001160640k2dfb1ccfw45403d2fbf6a0b42@mail.gmail.com> (raw)

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


             reply	other threads:[~2010-01-16 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16 14:40 Hui Zhu [this message]
2010-01-16 18:53 ` Stan Shebs
2010-01-16 22:07   ` Jan Kratochvil
2010-01-19  3:19     ` Hui Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=daef60381001160640k2dfb1ccfw45403d2fbf6a0b42@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=stan@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox