public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: insight <insight@sourceware.org>
Subject: [BUG] build trunk error
Date: Mon, 09 May 2011 04:06:00 -0000	[thread overview]
Message-ID: <BANLkTimo3Lb28=mT5FTy-mP1G80Q2mTjWw@mail.gmail.com> (raw)

gcc -g -O2   -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/../opcodes/.. -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 -Wunused-function -Wno-switch -Wno-char-subscripts
-Werror -c -o gdbtk-hooks.o -MT gdbtk-hooks.o -MMD -MP -MF
.deps/gdbtk-hooks.Tpo -I../../src/gdb/../libgui/src
-I/home/teawater/gdb/cvs/src/tcl/generic
-I/home/teawater/gdb/cvs/src/tk/generic
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\"
-DSRC_DIR=\"/home/teawater/gdb/cvs/src/gdb\"
../../src/gdb/gdbtk/generic/gdbtk-hooks.c
cc1: warnings being treated as errors
../../src/gdb/gdbtk/generic/gdbtk-hooks.c: In function 'gdbtk_add_hooks':
../../src/gdb/gdbtk/generic/gdbtk-hooks.c:126: error: passing argument
1 of 'observer_attach_breakpoint_created' from incompatible pointer
type
./observer.h:134: note: expected 'void (*)(struct breakpoint *)' but
argument is of type 'void (*)(int)'
../../src/gdb/gdbtk/generic/gdbtk-hooks.c:127: error: passing argument
1 of 'observer_attach_breakpoint_modified' from incompatible pointer
type
./observer.h:150: note: expected 'void (*)(struct breakpoint *)' but
argument is of type 'void (*)(int)'
../../src/gdb/gdbtk/generic/gdbtk-hooks.c:128: error: passing argument
1 of 'observer_attach_breakpoint_deleted' from incompatible pointer
type
./observer.h:142: note: expected 'void (*)(struct breakpoint *)' but
argument is of type 'void (*)(int)'
make: *** [gdbtk-hooks.o] Error 1

             reply	other threads:[~2011-05-09  4:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09  4:06 Hui Zhu [this message]
2011-05-13  0:37 ` Keith Seitz
2011-05-14  3:42   ` 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='BANLkTimo3Lb28=mT5FTy-mP1G80Q2mTjWw@mail.gmail.com' \
    --to=teawater@gmail.com \
    --cc=insight@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).