RE: Problem building Insight
Fedin Pavel <[email protected]> Thu, 16 May 2013 11:46:24 +0400
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <001501ce5209$77fc2680$67f47380$%[email protected]> |
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.