Hi everybody, I have the following code:
XmTextField Widget w; Status1 = XtHasCallback(w, XmNactivateCallback); XtAddCallback(w, XmNactivateCallback, Fct_cbk, cltcbk); Status2 = XtHasCallback(w, XmNactivateCallback); When I compile in DEBUG mode and I execute, the result is : Status1 is XtCallbackHasNone (list is here but empty) Status2 is XtCallbackHasSome (list is here whth one element) When I compile in OPTIMIZED mode, the result is very different : Status1 is XtCallbackNoList (no list callback in the widget) Message from lesstif : Warning : cannot find callback list in XtAddcallback Status2 is XtCallbackNoList (no list callback in the widget) So my questions are : 1 - Why do I have two behaviours between debut et optimized mode ? 2 - Does it exist a patch to correct this problem ? How can I obtain it my OS is FEDORA 2.24 with lesstif 0.93.36-4 and Xfree86 4.3.0-42 Philippe BRIDOUX INTERCONTROLE DIUS/GSIX T�l :33 (0)4 42 17 36 43 - Fax : 33 (0)4 42 17 36 03 [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Lesstif-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

