"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | Latest CVS: > | g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem | +/usr/X11R6/include -O2 -m486 -fno-strength-reduce -W -Wall -c | +GraphicsImageXPM.C -Wp,-MD,.deps/GraphicsImageXPM.TPlo | GraphicsImageXPM.C: In method `void grfx::GImageXPM::load(const string &, | +boost::shared_ptr<boost::signal1<void,bool,boost::last_value<void>,int,less<int | +>,boost::function1<void,bool,boost::empty_function_policy,boost::empty_function | +_mixin,allocator<boost::function_base> > > >)': | GraphicsImageXPM.C:98: no matching function for call to | +`boost::signal1<void,bool,boost::last_value<void>,int,less<int>,boost::function | +1<void,bool,boost::empty_function_policy,boost::empty_function_mixin,allocator< | +boost::function_base> > >::emit (bool)' | GraphicsImageXPM.C:105: no matching function for call to | +`boost::signal1<void,bool,boost::last_value<void>,int,less<int>,boost::function | +1<void,bool,boost::empty_function_policy,boost::empty_function_mixin,allocator< | +boost::function_base> > >::emit (bool)'
Yes.. this is code that I do not normaly compile... the fix is just to change foo.emit(...); to foo(...); -- Lgb