View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000204 | Spring engine | General | public | 2006-06-16 09:53 | 2006-06-22 08:58 |
| Reporter | Krysole | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | won't fix | ||
| Summary | 0000204: GCC 4.1 Does not like overloaded 'operator delete(void*, size_t)' | ||||
| Description | Due to an overloaded operator delete (operator delete(void*,size_t)) in CGameHelper::WaitingDamage (GameHelper.h) during compilation of GameHelper.cpp compilation fails with error message as follows (from fbo on dev mailing list): g++ -o build/rts/Game/GameHelper.o -c -fvisibility=hidden -pthread -D_REENTRANT -DDIRECT_CONTROL_ALLOWED -D_SZ_ONE_DIRECTORY -DNO_CLIPBOARD -DNO_AVI -DNO_LUA -Irts -Irts/System -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/python2.4 rts/Game/GameHelper.cpp rts/Game/GameHelper.cpp: In destructor 'virtual CGameHelper::~CGameHelper()': rts/Game/GameHelper.cpp:55: error: no suitable 'operator delete' for 'CGameHelp er::WaitingDamage' rts/Game/GameHelper.cpp: In member function 'void CGameHelper::Explosion(float3 , const DamageArray&, float, CUnit*, bool, float, bool, CExplosionGenerator*)': rts/Game/GameHelper.cpp:114: error: no suitable 'operator delete' for 'CGameHel per::WaitingDamage' rts/Game/GameHelper.cpp: In member function 'void CGameHelper::Update()': rts/Game/GameHelper.cpp:641: error: no suitable 'operator delete' for 'CGameHel per::WaitingDamage' rts/Game/GameHelper.cpp:696: confused by earlier errors, bailing out scons: *** [build/rts/Game/GameHelper.o] Error 1 scons: building terminated because of errors. make[1]: *** [all] Fehler 2 make[1]: Leaving directory /SCR/ta/spring-0.72b1' make: *** [build-stamp] Fehler 2 | ||||
| Steps To Reproduce | afaik just drop it into a GCC 4.1 compiler on a compatible system. It should be reproducable using the normal scons build commands. | ||||
| Additional Information | Does NOT effect GCC 4.0 (checked using Apple GCC 4.0 compiler) | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
It appears to be a debian only bug atm. Details can be found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372152 I'm not sure if any other platforms are suffering the same issue. Currently the only option is to revert the debian package back to an earlier version or wait for a bugfix version to be issued. |
|
|
this was a bug in gcc |