Problem building Insight
Fedin Pavel <[email protected]> Thu, 16 May 2013 11:28:32 +0400
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <000701ce5206$f8a4e2c0$e9eea840$%[email protected]> |
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.