[Scummvm-devel] merged Dragon History into trunk

Robert Špalek rspalek at gmail.com
Mon Sep 28 04:57:18 CEST 2009

hi Max,

On Sun, Sep 27, 2009 at 1:08 PM, Max Horn <max at quendi.de> wrote:

> using global variables of a non-POD types (e.g. a class/struct with a
> non-trivial constructor) is in general not portable and won't work on
> many systems -- as observed in this case. Most commonly, these break
> because the constructors are not called at all or are called
> "incorrectly".
good point

> Short and simple solution to make the code portable: Don't use them.

fixed.  replaced Common::String by const char*, because we just need
read-only access to them.

Robert Špalek <rspalek at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090927/6c25dc06/attachment.html>

More information about the Scummvm-devel mailing list