hi Max,<br><br><div class="gmail_quote">On Sun, Sep 27, 2009 at 1:08 PM, Max Horn <span dir="ltr"><<a href="mailto:max@quendi.de">max@quendi.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

using global variables of a non-POD types (e.g. a class/struct with a<br>
non-trivial constructor) is in general not portable and won't work on<br>
many systems -- as observed in this case. Most commonly, these break<br>
because the constructors are not called at all or are called<br>
"incorrectly".<br>
<br></blockquote><div><br></div><div>good point</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Short and simple solution to make the code portable: Don't use them.<br></blockquote><div><br></div><div>fixed.  replaced Common::String by const char*, because we just need read-only access to them.</div><div> </div>

</div>-- <br>Robert Špalek <<a href="mailto:rspalek@gmail.com">rspalek@gmail.com</a>><br>