On Friday 16 August 2002 5:31 pm, Kayvan A. Sylvan wrote: > g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images > -I../../../src/ +-I../../../src/frontends/ > -I../../../src/frontends/controllers -I../../../boost +-isystem > /usr/X11R6/include -O2 -m486 -fno-strength-reduce -W -Wall -c +Tooltips.C > -Wp,-MD,.deps/Tooltips.TPlo > Tooltips.C:112: parse error before `&' > Tooltips.C:118: syntax error before `.' > Tooltips.C:120: syntax error before `.' > Tooltips.C:180: confused by earlier errors, bailing out > make[6]: *** [Tooltips.lo] Error 1
Ahhhhh. You use a really old and crappy xforms! Does the patch, attached solve your problems? Angus
Index: src/frontends/xforms/Tooltips.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/Tooltips.C,v retrieving revision 1.19 diff -u -p -r1.19 Tooltips.C --- src/frontends/xforms/Tooltips.C 15 Aug 2002 16:02:22 -0000 1.19 +++ src/frontends/xforms/Tooltips.C 16 Aug 2002 16:44:42 -0000 @@ -112,11 +112,6 @@ static void C_TooltipTimerCB(FL_OBJECT * Tooltips::Tooltips(Dialogs & d) : tooltip_timer_(0) { - static bool first = true; - if (first) { - first = false; - d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled)); - } toggled.connect(boost::bind(&Tooltips::set, this)); }