From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25743 invoked by alias); 29 Mar 2011 08:23:25 -0000 Received: (qmail 25730 invoked by uid 22791); 29 Mar 2011 08:23:21 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BT,TW_DB,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-iw0-f175.google.com (HELO mail-iw0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Mar 2011 08:23:16 +0000 Received: by iwn10 with SMTP id 10so6312542iwn.20 for ; Tue, 29 Mar 2011 01:23:16 -0700 (PDT) Received: by 10.42.157.9 with SMTP id b9mr341567icx.198.1301386996185; Tue, 29 Mar 2011 01:23:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.75.193 with HTTP; Tue, 29 Mar 2011 01:22:56 -0700 (PDT) From: Hui Zhu Date: Tue, 29 Mar 2011 08:23:00 -0000 Message-ID: Subject: [BUG] build error with gdbtk-bp.c To: insight@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2011-q1/txt/msg00020.txt.bz2 gcc -g -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 -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-bp.o -MT gdbtk-bp.o -MMD -MP -MF .deps/gdbtk-bp.Tpo -I../../src/gdb/../libgui/src -I/home/teawater/gdb/src/tcl/generic -I/home/teawater/gdb/src/tk/generic -DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\" -DSRC_DIR=\"/home/teawater/gdb/src/gdb\" ../../src/gdb/gdbtk/generic/gdbtk-bp.c cc1: warnings being treated as errors ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'tracepoint_exists': ../../src/gdb/gdbtk/generic/gdbtk-bp.c:834: error: passing argument 5 of 'decode_line_1' from incompatible pointer type ../../src/gdb/linespec.h:47: note: expected 'struct linespec_result *' but argument is of type 'char ***' make[2]: *** [gdbtk-bp.o] Error 1 make[2]: Leaving directory `/home/teawater/gdb/bgdbno/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/teawater/gdb/bgdbno' make: *** [all] Error 2