gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] /srv/bzr/gnash/trunk r11955: make it compile


From: Markus Gothe
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r11955: make it compile
Date: Mon, 15 Feb 2010 22:36:21 +0100

I could write it like this with an implicit typecast:

as_object *tmp = vm.getGlobal();
tmp->dump_members();

//Markus

On 15 Feb 2010, at 21:49, strk wrote:

On Mon, Feb 15, 2010 at 09:17:00PM +0100, Markus Gothe wrote:

Global_as has no member called dump_members().

as_object does, and Global_as derives from as_object.
Often when the compiler doesn't figure is just because
you haven't included the header of base class.

So, I checked around in the code and found that solution in another
file.

Might as well be another bogus case.
reinterpret_case<> should be avoided as much as possible.

--strk;

 ()   Free GIS & Flash consultant/developer
 /\   http://foo.keybit.net/~strk/services.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]