[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] dangerous use of global data
From: |
Hiroyuki Ikezoe |
Subject: |
Re: [Gnash-dev] dangerous use of global data |
Date: |
Sun, 12 Nov 2006 15:26:28 +0900 |
Hello,
2006-11-11 (土) の 12:21 +0100 に strk さんは書きました:
> I'm now working on LogFile, which is another one.
> This mail is just to let you know what I'm up to, and to warn
> you about other such cases.
> Gnash currently uses way too much globals, and we should protect
> all of them inside ad-hoc classes with the sole purpose of providing
> the global in a safe way.
> Eventually, these classes could be stored in yet another container
> object to represent a "run environment". This would allow us, for example,
> to play multiple movies by the same exectutable file (not impossible).
I get the following error.
action_buffer.cpp:46: error: conversion from 'const
gnash::SWF::SWFHandlers*' to non-scalar type 'gnash::SWF::SWFHandlers'
requested
../../server/swf/ASHandlers.h: In function 'void
__static_initialization_and_destruction_0(int, int)':
../../server/swf/ASHandlers.h:268: error:
'gnash::SWF::SWFHandlers::~SWFHandlers()' is private
action_buffer.cpp:46: error: within this context
To make the destructor of SwFHandler public fixes the error, but I think
it is not singleton-linke. I have no more idea about it.
Thank you,
Hiroyuki Ikezoe