[gmpi] Re: Linux C++ question

On Thu, Feb 24, 2005, Tim Hockin wrote:

> I think we'll get most portability by avoiding static objects as much as
> possible.

Being familiar with the Symbian OS, I'd like to second this statement.
Symbian does not allow writable static data in DLLs. The DLLs don't 
have a data segment at all. Of course, plugins or applications that 
don't target this OS (i.e., most), can use static data. It's just that 
the API should be designed so that dynamic allocation and deallocation 
of (also) singleton objects is easy.

This would also mean that support for static objects can't be mandated
if you (or we) want to keep Symbian as one of the possible platforms 
for GMPI.

Further details available, e.g., at
<http://www.symbian.com/developer/techlib/v70sdocs/doc_source/DevGuides/EssentialIdioms/StaticData.html>

Back to lurking...

        BR,
        Jarmo Hiipakka

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: