<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'><P>Hi guys,</P><P></P><P>wow this is the first C++ toolchain I ever encountered that doesn't support the placement new :)<BR></P><P>I don't know of any portable way, presumably there is none, but we probably can figure an horrible hack to do the in-place construction for the platform. Somebody has an idea?</P><BR>--- En date de : <B>Mer 23.7.08, Lars Persson <I><larspp@hotmail.com></I></B> a écrit :<BR><BLOCKQUOTE style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Lars Persson <larspp@hotmail.com><BR>Objet: Re: [Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[33212] scummvm/trunk/common/hashmap.h<BR>À: scummvm-devel@lists.sourceforge.net<BR>Date: Mercredi 23 Juillet 2008, 11h37<BR><BR><DIV id="yiv127182208">

<STYLE>
#yiv127182208 .hmmessage P
{
margin:0px;padding:0px;}
#yiv127182208 {
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}
</STYLE>

 
Hi Max, hi all! <BR>Well the reason for me disabling this feature, is exactlity whats mentioned in the comment for the define. SymbianOS does not have <new> by default and adding support for it is not trivial, but doable. (Needs linking against different libraries, addition of new H file etc.<BR><BR>If the memorypool could be used without <new> there should be no problems with Symbian OS in this regard, as far as I know.<BR><BR>best regards<BR>Lars<BR><BR>> Date: Wed, 23 Jul 2008 11:22:58 +0200<BR>> From: max@quendi.de<BR>> To: anotherguest@users.sourceforge.net<BR>> CC: scummvm-devel@lists.sourceforge.net<BR>> Subject: Re: [Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[33212] scummvm/trunk/common/hashmap..h<BR>> <BR>> Hi Lars, hi all<BR>> <BR>> so you disabled USE_HASHMAP_MEMORY_POOL  for Symbian (see quotes below).<BR>> May I ask in which way USE_HASHMAP_MEMORY_POOL is system dependant? I.e.<BR>>
 what broke, exactly? In theory, the memory pool code should actually be<BR>> quite portable. Before disabling it conditionally on some platforms,  and<BR>> before resolving this FIXME, we really would need to know in how far it<BR>> causes problems :).<BR>> <BR>> Also, to the rest of our porters: Are there any other ports who have<BR>> troubles with this?<BR>> <BR>> Cheers,<BR>> Max<BR>> <BR>> Am 22.07.2008 um 20:09 schrieb anotherguest@users.sourceforge.net:<BR>> ><BR>> > Revision: 33212<BR>> >          http://scummvm.svn.sourceforge.net/scummvm/?rev=33212&view=rev<BR>> > Author:   anotherguest<BR>> > Date:     2008-07-22 19:09:10 +0000 (Tue, 22 Jul 2008)<BR>> ><BR>> > Log Message:<BR>> > -----------<BR>> > Disable hashmemory pool for Symbian OS<BR>> ><BR>> > Modified Paths:<BR>> > --------------<BR>> >
    scummvm/trunk/common/hashmap.h<BR>> ><BR>> > Modified: scummvm/trunk/common/hashmap.h<BR>> > ===================================================================<BR>> > --- scummvm/trunk/common/hashmap.h       2008-07-22 18:53:22 UTC (rev 33211)<BR>> > +++ scummvm/trunk/common/hashmap.h       2008-07-22 19:09:10 UTC (rev 33212)<BR>> > @@ -58,7 +58,13 @@<BR>> > #include "common/str.h"<BR>> > #include "common/util.h"<BR>> ><BR>> > +// FIXME: Since this define is very system dependant,<BR>> > +// it should be moved to the appropriate H file instead.<BR>> > +// Portdefs might be a good location for example<BR>> > +#if !defined(__SYMBIAN32__)<BR>> > #define USE_HASHMAP_MEMORY_POOL<BR>> > +#endif<BR>> > +<BR>> > #ifdef USE_HASHMAP_MEMORY_POOL<BR>> > #include "common/memorypool.h"<BR>> > // FIXME: we sadly can't assume standard C++ to be present<BR>>
 <BR>> <BR>> <BR>> <BR>> -------------------------------------------------------------------------<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> _______________________________________________<BR>> Scummvm-devel mailing list<BR>> Scummvm-devel@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/scummvm-devel<BR><BR><HR>Connect to the next generation of MSN Messenger   <A rel="nofollow" target="_blank" href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline">Get it now! </A> 
</DIV><PRE>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/</PRE><PRE>_______________________________________________
Scummvm-devel mailing list
Scummvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scummvm-devel</PRE></BLOCKQUOTE></td></tr></table><br>


      <hr size="1"> 
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd..yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a>