From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26464 invoked by alias); 23 Jul 2010 07:23:02 -0000 Received: (qmail 26443 invoked by uid 71); 23 Jul 2010 07:23:01 -0000 Resent-Date: 23 Jul 2010 07:23:01 -0000 Resent-Message-ID: <20100723072301.26442.qmail@sourceware.org> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, captainhaggy@googlemail.com Received: (qmail 26204 invoked by uid 48); 23 Jul 2010 07:22:22 -0000 Message-Id: <20100723072222.26203.qmail@sourceware.org> Date: Fri, 23 Jul 2010 07:23:00 -0000 From: captainhaggy@googlemail.com Reply-To: captainhaggy@googlemail.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/352: 2 comparisons in cp-name-parser.y create errors at line 1980 and 1985 Mailing-List: contact insight-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00000.txt.bz2 >Number: 352 >Category: insight >Synopsis: 2 comparisons in cp-name-parser.y create errors at line 1980 and 1985 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jul 23 07:23:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: 2 comparison errors in cp-name-parser.y, line 1980 and 1985 >Release: 6.8 and 6.8.1 >Organization: >Environment: Archlinux, Atom N270, 2 GB Ram, Kernel 2.6.34.1, GCC 4.5.0-6 >Description: I get two comparison errors in cp-name-parser.y gcc -c -march=i686 -mtune=generic -O2 -pipe -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/opt/insight/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DGDBTK -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror cp-name-parser.c cc1: warnings being treated as errors cp-name-parser.y: In Funktion »cp_comp_to_string«: cp-name-parser.y:1980:20: Fehler: comparison between »enum demangle_component_type« and »enum « cp-name-parser.y:1985:25: Fehler: comparison between »enum demangle_component_type« and »enum « make[2]: *** [cp-name-parser.o] Fehler 1 make[2]: Leaving directory `/tmp/yaourt-tmp-karl/aur-insight/src/insight-6.8/gdb' make[1]: *** [all-gdb] Fehler 2 make[1]: Leaving directory `/tmp/yaourt-tmp-karl/aur-insight/src/insight-6.8' make: *** [all] Fehler 2 Breche ab ... ==> ERROR: Makepkg was unable to build insight. >How-To-Repeat: Manually, unpacking the package, ./configure works and make stops ever at the same source-package with those two errors. >Fix: fix the comparison >Release-Note: >Audit-Trail: >Unformatted: