This is the mail archive of the
insight-prs@sourceware.org
mailing list for the Insight project.
insight/352: 2 comparisons in cp-name-parser.y create errors at line 1980 and 1985
- From: captainhaggy at googlemail dot com
- To: insight-gnats at sources dot redhat dot com
- Date: 23 Jul 2010 07:22:22 -0000
- Subject: insight/352: 2 comparisons in cp-name-parser.y create errors at line 1980 and 1985
- Reply-to: captainhaggy at googlemail dot com
>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 <anonym>«
cp-name-parser.y:1985:25: Fehler: comparison between »enum demangle_component_type« and »enum <anonym>«
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: