#5990 closed defect (invalid)
GROOVIE: Global constructors degrades portability
Reported by: | fingolfin | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: Groovie |
Version: | Keywords: | ||
Cc: | Game: |
Description
The GROOVIE engine makes use of global constructors, which reduces portability. Here's the relevant error / warning from clang.
C++ engines/groovie/script.o ../../engines/groovie/script.cpp:1681:28: error: declaration requires a global constructor [-Werror,-Wglobal-constructors] Script::OpcodeFunc Script::_opcodesT7G[NUM_OPCODES] = { ^ ~ ../../engines/groovie/script.cpp:1777:28: error: declaration requires a global constructor [-Werror,-Wglobal-constructors] Script::OpcodeFunc Script::_opcodesV2[NUM_OPCODES] = { ^ ~ 2 errors generated. make: *** [engines/groovie/script.o] Error 1
Ticket imported from: #3492137. Ticket imported from: bugs/5990.
Change History (3)
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
comment:3 by , 6 years ago
Component: | → Engine: Groovie |
---|
This was with Apple clang version 3.0 (tags/Apple/clang-211.10.1). However, I cannot reproduce this with a current trunk build of clang either, so I am closing this as invalid. Sorry for the confusion!