From: Hui Zhu <teawater@gmail.com>
To: insight@sourceware.org
Subject: Build gdbtk-cmds.c get error
Date: Mon, 14 Jun 2010 09:55:00 -0000 [thread overview]
Message-ID: <AANLkTikqwc3ci9QwSPMgIZCHxh-J8P0EgW2Lb4oHBaP4@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 -I/usr/include -I/usr/include -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-cmds.o -MT
gdbtk-cmds.o -MMD -MP -MF .deps/gdbtk-cmds.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-cmds.c
cc1: warnings being treated as errors
../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdb_eval':
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: passing argument
7 of 'val_print' from incompatible pointer type
../../src/gdb/value.h:671: note: expected 'const struct value *' but
argument is of type 'struct value_print_options *'
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: passing argument
8 of 'val_print' from incompatible pointer type
../../src/gdb/value.h:671: note: expected 'const struct
value_print_options *' but argument is of type 'const struct
language_defn *'
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: too few arguments
to function 'val_print'
make[2]: *** [gdbtk-cmds.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/cvs/bgdball/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/teawater/gdb/cvs/bgdball'
make: *** [all] Error 2
next reply other threads:[~2010-06-14 9:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 9:55 Hui Zhu [this message]
2010-06-17 2:18 ` Hui Zhu
2010-06-18 22:24 ` [OBV] Fix " Pierre Muller
2010-06-19 18:01 ` Keith Seitz
[not found] ` <4426260533430796929@unknownmsgid>
2010-06-19 15:46 ` Hui Zhu
2010-07-04 8:20 Hui Zhu
2010-07-04 18:13 ` Keith Seitz
2010-07-05 5:54 ` 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=AANLkTikqwc3ci9QwSPMgIZCHxh-J8P0EgW2Lb4oHBaP4@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).