On Thu, Mar 29, 2007 at 04:29:05PM +0000, Deanna Phillips wrote: > strk writes: > > > On Fri, Mar 23, 2007 at 09:01:17PM +0530, Praveen A wrote: > >> 2007/3/22, strk <[EMAIL PROTECTED]>: > >> >Does including "ref_counted.h" from "smart_ptr.h" fixes it ? > >> >--strk; > >> > >> Nopes. It still gives the same error. > > > > What about including it from fn_call.h ? > > This bit, stolen from neighboring with_stack_entry.h, fixes it > for me. This probably has something to do with the ref_counted.h > and smart_ptr.h include order in the newly included files. I > got tired of twiddling them around once I'd found this fix. :)
I committed your patch. Ready for test. > I am on to bigger and meaner-looking errors which may be related: ... > button_character_instance.cpp: In function `void > gnash::attachButtonInterface(gnash::as_object&)': > button_character_instance.cpp:226: error: invalid conversion from `void > (*)(const gnash::fn_call&)' to `gnash::as_value (*)(const gnash::fn_call&)' > button_character_instance.cpp:226: error: initializing argument 1 of ` > gnash::builtin_function::builtin_function(gnash::as_value (*)(const > gnash::fn_call&), gnash::as_object*)' > button_character_instance.cpp: At global scope: > button_character_instance.cpp:282: error: prototype for `gnash::as_value > gnash::button_character_instance::enabled_getset(const gnash::fn_call&)' > does not match any in class `gnash::button_character_instance' > button_character_instance.h:130: error: candidate is: static void > gnash::button_character_instance::enabled_getset(const gnash::fn_call&) > button_character_instance.cpp:282: error: `gnash::as_value > gnash::button_character_instance::enabled_getset(const gnash::fn_call&)' > and > `static void gnash::button_character_instance::enabled_getset(const > gnash::fn_call&)' cannot be overloaded Try including as_value.h in button_character_instance.h --strk; _______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
