From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.4.0-SGI_XFS_PR i686) the following functions are defined: class LSlotConnection; class LGenericSlot; class LBaseSlot0; class LEmitter0; template < class Object > LSlotConnection connect_emitter ( void (Object::*func)(void), Object & object, LEmitter0 & emitter ); template <class Parameter1> class LBaseSlot1; template <class Parameter1> class LEmitter1; template <class Object, class Parameter1> LSlotConnection connect_emitter ( void (Object::*func)(Parameter1), Object & object, LEmitter1<Parameter1> & emitter ); template <class Parameter1, class Parameter2> class LBaseSlot2; template <class Parameter1, class Parameter2> class LEmitter2; template <class Object, class Parameter1, class Parameter2> LSlotConnection connect_emitter ( void (Object::*func)(Parameter1, Parameter2), Object & object, LEmitter2<Parameter1, Parameter2> & emitter ); now when I use connect_emitter ( c_function, emitter ); is simply crashes ... Reproducible: Always Steps to Reproduce: recompile... use a c_func type of the connect_emitter function ( zero parameters is working )... Actual Results: crashes when using connect_emitter functions for 1 or 2 parameters for non-object targets (c-funcs) ... Expected Results: not to crash .... files used by the LCL http://sourceforge.net/projects/lcl or http://dentrassi.de/lcl file -> lemit.h
Created attachment 12349 [details] function definition ...
Are you able to reproduce it with latest rawhide gcc rpms? What do you mean by crashing, does g++ crash on the source or does the code crash when it is run? If the former, please attach preprocessed source it can be reproduced on, if the latter, can you simplify it to a one file program which will crash when it is miscompiled?
Closed due to inactivity.