From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13236 invoked by alias); 16 May 2013 07:28:41 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org Received: (qmail 13219 invoked by uid 89); 16 May 2013 07:28:38 -0000 X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BT,TW_DB,T_MANY_HDRS_LCASE autolearn=ham version=3.3.1 Received: from mailout4.w1.samsung.com (HELO mailout4.w1.samsung.com) (210.118.77.14) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 16 May 2013 07:28:37 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMV004KTRF8GN20@mailout4.w1.samsung.com> for insight@sourceware.org; Thu, 16 May 2013 08:28:33 +0100 (BST) Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id FF.46.07878.1AA84915; Thu, 16 May 2013 08:28:33 +0100 (BST) Received: from fedinw7x64 ([106.109.9.113]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MMV00B43RFKCS80@eusync2.samsung.com> for insight@sourceware.org; Thu, 16 May 2013 08:28:33 +0100 (BST) From: Fedin Pavel To: insight@sourceware.org Subject: Problem building Insight Date: Thu, 16 May 2013 07:28:00 -0000 Message-id: <000701ce5206$f8a4e2c0$e9eea840$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-SW-Source: 2013-q2/txt/msg00005.txt.bz2 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.