From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19038 invoked by alias); 9 May 2011 04:06:02 -0000 Received: (qmail 19024 invoked by uid 22791); 9 May 2011 04:06:00 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_BT,TW_DB X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 May 2011 04:05:46 +0000 Received: by fxm18 with SMTP id 18so4182434fxm.0 for ; Sun, 08 May 2011 21:05:45 -0700 (PDT) Received: by 10.223.110.21 with SMTP id l21mr890689fap.70.1304913945377; Sun, 08 May 2011 21:05:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.105.74 with HTTP; Sun, 8 May 2011 21:05:25 -0700 (PDT) From: Hui Zhu Date: Mon, 09 May 2011 04:06:00 -0000 Message-ID: Subject: [BUG] build trunk error To: insight 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-q2/txt/msg00010.txt.bz2 gcc -g -O2 -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-hooks.o -MT gdbtk-hooks.o -MMD -MP -MF .deps/gdbtk-hooks.Tpo -I../../src/gdb/../libgui/src -I/home/teawater/gdb/cvs/src/tcl/generic -I/home/teawater/gdb/cvs/src/tk/generic -DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\" -DSRC_DIR=\"/home/teawater/gdb/cvs/src/gdb\" ../../src/gdb/gdbtk/generic/gdbtk-hooks.c cc1: warnings being treated as errors ../../src/gdb/gdbtk/generic/gdbtk-hooks.c: In function 'gdbtk_add_hooks': ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:126: error: passing argument 1 of 'observer_attach_breakpoint_created' from incompatible pointer type ./observer.h:134: note: expected 'void (*)(struct breakpoint *)' but argument is of type 'void (*)(int)' ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:127: error: passing argument 1 of 'observer_attach_breakpoint_modified' from incompatible pointer type ./observer.h:150: note: expected 'void (*)(struct breakpoint *)' but argument is of type 'void (*)(int)' ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:128: error: passing argument 1 of 'observer_attach_breakpoint_deleted' from incompatible pointer type ./observer.h:142: note: expected 'void (*)(struct breakpoint *)' but argument is of type 'void (*)(int)' make: *** [gdbtk-hooks.o] Error 1