On Wednesday 13 March 2002 3:36 pm, Dekel Tsur wrote: > Once again, my compiler (egcs 1.1.2) refuses to compile lyx: > > g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images -I../../../src/ > -I../../../src/frontends/ -I../../../src/frontends/controllers -I../../.. > -I../../.. -I../../../boost -isystem /usr/X11R6/include -O -fno-rtti > -fno-exceptions -W -Wall -Wp,-MD,.deps/FormPreferences.pp -c FormPreferences.C > FormBaseDeprecated.h: In method void FormPreferences::Colors::build()': > FormBaseDeprecated.h:113: static void > FormBaseDeprecated::setPrehandler(struct FL_OBJECT *)' is protected > FormPreferences.C:492: within this context > FormBaseDeprecated.h:113: static void > FormBaseDeprecated::setPrehandler(struct FL_OBJECT *)' is protected
... and it's problem is what exactly? class FormBaseDeprecated { protected: static void setPrehandler(FL_OBJECT * ob); }; class FormBaseBI : public FormBaseDeprecated { }; class FormPreferences : public FormBaseBI { }; Sigh... Patches welcome of course. Angus