>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: