Opened 16 years ago

Closed 16 years ago

Last modified 6 years ago

#3990 closed defect

BUILD: compiler bug in gui/ThemeParser.cpp

Reported by: SF/bellut Owned by: lordhoto
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

Hi,

recent SVN trunk (tested with r34765) triggers a compiler bug with gcc 3.2:

g++ -Wp,-MMD,"gui/.deps/ThemeParser.d",-MQ,"gui/ThemeParser.o",-MP -Wall -g -ansi -W -Wno-unused-parameter -Wconversion -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DUNIX -DDATA_PATH=\"/usr/local/share/scummvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/scummvm\" -DSDL_BACKEND -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_CINE=STATIC_PLUGIN -DENABLE_CRUISE=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_IGOR=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_MADE=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -I. -I. -I./engines -I/usr/include/SDL -D_REENTRANT -c gui/ThemeParser.cpp -o gui/ThemeParser.o common/hashmap.h: In constructor `Common::HashMap<Key, Val, HashFunc, EqualFunc>::HashMap() [with Key = Common::String, Val = void (Graphics::VectorRenderer::*)(const Common::Rect&, const Graphics::DrawStep&), HashFunc = Common::IgnoreCase_Hash, EqualFunc = Common::IgnoreCase_EqualTo]': gui/ThemeParser.cpp:43: instantiated from here common/hashmap.h:287: Internal compiler error in build_modify_expr, at cp/typeck.c:5494 Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://qa.mandrakesoft.com/> for instructions. make: *** [gui/ThemeParser.o] Error 1

$ g++ --version g++-3.2 (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you're trying to find a workaround I'm available for testing.

cu, Bodo

Ticket imported from: #2157628. Ticket imported from: bugs/3990.

Change History (5)

comment:1 by SF/tanoku, 16 years ago

Has anybody else been able to reproduce this?

It seems to be a problem with the HashMap code, not the parser itself.

comment:2 by lordhoto, 16 years ago

Owner: set to lordhoto
Status: newpending

comment:3 by SF/sf-robot, 16 years ago

Status: pendingclosed

comment:4 by SF/sf-robot, 16 years ago

This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).

comment:5 by digitall, 6 years ago

Component: --Unset--GUI
Note: See TracTickets for help on using tickets.