[ scummvm-Bugs-3492135 ] DREAMWEB: Global constructors degrades portability

SourceForge.net noreply at sourceforge.net
Thu Feb 23 16:45:34 CET 2012


Bugs item #3492135, was opened at 2012-02-23 07:45
Message generated for change (Tracker Item Submitted) made by fingolfin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3492135&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Max Horn (fingolfin)
Assigned to: Nobody/Anonymous (nobody)
Summary: DREAMWEB: Global constructors degrades portability

Initial Comment:
The DREAMWEB engine makes use of global constructors, which reduces portability. Here's the relevant error / warning from clang.

    C++      engines/dreamweb/people.o
../../engines/dreamweb/people.cpp:27:31: error: declaration requires a global constructor
      [-Werror,-Wglobal-constructors]
static void (DreamWebEngine::*reelCallbacks[57])(ReelRoutine &) = {
                              ^                                   ~
1 error generated.
make: *** [engines/dreamweb/people.o] Error 1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3492135&group_id=37116




More information about the Scummvm-tracker mailing list