Could you try undefining the COMPILER_SUPPORTS_ARGUMENT_DEPENDENT_LOOKUP macro in smart_ptr.h ?
--strk; On Thu, Mar 29, 2007 at 12:55:08PM +0530, Praveen A wrote: > 2007/3/28, strk <[EMAIL PROTECTED]>: > >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 ? > > > > It still fails with the following error messages: > > In file included from smart_ptr.h:29, > from ref_counted.h:30, > from ../server/as_object.h:27, > from sharedlib.h:27, > from extension.cpp:40: > smart_ptr.h: In function `void gnash::intrusive_ptr_add_ref(T*) [with T = > gnash::as_object]': > /usr/include/boost/intrusive_ptr.hpp:64: instantiated from > `boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T = > gnash::as_object]' > ../server/vm/fn_call.h:62: instantiated from here > smart_ptr.h:51: error: `add_ref' undeclared (first use this function) > smart_ptr.h:51: error: (Each undeclared identifier is reported only once for > each function it appears in.) > smart_ptr.h: In function `void gnash::intrusive_ptr_release(T*) [with T = > gnash::as_object]': > /usr/include/boost/intrusive_ptr.hpp:83: instantiated from > `boost::intrusive_ptr<T>::~intrusive_ptr() [with T = > gnash::as_object]' > ../server/vm/fn_call.h:62: instantiated from here > smart_ptr.h:58: error: `drop_ref' undeclared (first use this function) > make[2]: *** [libgnashbase_la-extension.lo] Error 1 > make[2]: Leaving directory `/home/pravi/forge/cvs/gnash/libbase' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/pravi/forge/cvs/gnash' > make: *** [all] Error 2 > > > Cheers > Praveen > > > -- > à´ªàµà´°à´µàµà´£àµ à´ à´°à´¿à´®àµà´ªàµà´°à´¤àµà´¤àµà´à´¿à´¯à´¿à´²àµ > Join The DRM Elimination Crew Now! > http://fci.wikia.com/wiki/Anti-DRM-Campaign > _______________________________________________ > Gnash mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnash -- () ASCII Ribbon Campaign /\ Keep it simple! _______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
