* Problem building Insight
@ 2013-05-16 7:28 Fedin Pavel
2013-05-16 7:46 ` Fedin Pavel
0 siblings, 1 reply; 3+ messages in thread
From: Fedin Pavel @ 2013-05-16 7:28 UTC (permalink / raw)
To: insight
Hello!
I have an error building fresh Insight from the CVS:
--- cut ---
gcc -O2 -isystem /mingw/include -D__USE_MINGW_ACCESS -I. -I. -I./common
-I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../b
fd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber
-I./gnulib/import -Ibuild-gnulib/import -DGDBTK -I/mingw/include -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-
unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wno-format
-Werror -c -o gdbtk-cmds.o -MT gdbtk-cmds.o -MMD -MP -MF .d
eps/gdbtk-cmds.Tpo -I./../libgui/src
-I/e/Projects/insight/src/tcl/generic -I/e/Projects/insight/src/tk/generic
-I"/e/Projects/insight/src/tk/xlib"
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\" -DSRC_DI
R=\"/e/Projects/insight/src/gdb\" ./gdbtk/generic/gdbtk-cmds.c
cc1.exe: warnings being treated as errors
./gdbtk/generic/gdbtk-cmds.c: In function 'gdb_update_mem':
./gdbtk/generic/gdbtk-cmds.c:2550:9: error: pointer targets in passing
argument 4 of 'target_read' differ in signedness
./target.h:325:16: note: expected 'gdb_byte *' but argument is of type 'char
*'
make[2]: *** [gdbtk-cmds.o] Error 1
make[2]: Leaving directory `/e/Projects/insight/src/gdb'
--- cut ---
The simplest way to fix this was to add an explicit cast of this argument
to the required type.
Kind regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Problem building Insight
2013-05-16 7:28 Problem building Insight Fedin Pavel
@ 2013-05-16 7:46 ` Fedin Pavel
2013-05-16 15:50 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Fedin Pavel @ 2013-05-16 7:46 UTC (permalink / raw)
To: insight
And one more such problem:
--- cut ---
gcc -O2 -isystem /mingw/include -D__USE_MINGW_ACCESS -I. -I. -I./common
-I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../b
fd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber
-I./gnulib/import -Ibuild-gnulib/import -DGDBTK -I/mingw/include -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-
unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wno-format
-Werror -c -o gdbtk-register.o -MT gdbtk-register.o -MMD -M
P -MF .deps/gdbtk-register.Tpo -I./../libgui/src
-I/e/Projects/insight/src/tcl/generic -I/e/Projects/insight/src/tk/generic
-I"/e/Projects/insight/src/tk/xlib"
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.
0\" -DSRC_DIR=\"/e/Projects/insight/src/gdb\"
./gdbtk/generic/gdbtk-register.c
cc1.exe: warnings being treated as errors
./gdbtk/generic/gdbtk-register.c: In function 'register_changed_p':
./gdbtk/generic/gdbtk-register.c:449:8: error: pointer targets in passing
argument 3 of 'deprecated_frame_register_read' differ in signedness
./frame.h:673:12: note: expected 'gdb_byte *' but argument is of type 'char
*'
make[2]: *** [gdbtk-register.o] Error 1
make[2]: Leaving directory `/e/Projects/insight/src/gdb'
--- cut ---
Fixed by changing type of 'raw_buffer' from char to gdb_byte.
Kind regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem building Insight
2013-05-16 7:46 ` Fedin Pavel
@ 2013-05-16 15:50 ` Keith Seitz
0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2013-05-16 15:50 UTC (permalink / raw)
To: Fedin Pavel; +Cc: insight
On 05/16/2013 12:46 AM, Fedin Pavel wrote:
> And one more such problem:
Yup. I have patches for two build errors those coming.
Problem is there is another upstream bug in gdb that prevents insight
from running.
I should have this all sorted out later today.
Thank you for bringing this to my attention, though. I've been so busy,
I could easily have not noticed for weeks!
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-16 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 7:28 Problem building Insight Fedin Pavel
2013-05-16 7:46 ` Fedin Pavel
2013-05-16 15:50 ` Keith Seitz
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).