John Spray <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> | Okay, I'll switch to gcc 3.4 and work on this during my computer algebra >> >>| class this morning :-) >> >>Note that the gtk errors was in the gtkmm/libsigc libraries. If the >>problem was only in frontends/gtk I would have fixed in right away. >> >> | Just added barebones pch.h as suggested, fixed compilation with gcc | 3.4. gtkmm/libsigc didn't give me any errors.
Then those has been fixed. | Index: GViewBase.h | =================================================================== | RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GViewBase.h,v | retrieving revision 1.10 | diff -u -p -r1.10 GViewBase.h | --- GViewBase.h 2004/10/08 14:59:17 1.10 | +++ GViewBase.h 2004/11/25 11:38:45 | @@ -118,14 +118,14 @@ GViewCB<Controller, Base>::GViewCB(Dialo | template <class Controller, class Base> | Controller & GViewCB<Controller, Base>::controller() | { | - return static_cast<Controller &>(getController()); | + return static_cast<Controller &>(Dialog::View::getController()); | } | | | template <class Controller, class Base> | Controller const & GViewCB<Controller, Base>::controller() const | { | - return static_cast<Controller const &>(getController()); | + return static_cast<Controller const &>(Dialog::View::getController()); | } I don't like the use of Dialog::View here, can you please try with just "this->" (And we should try to get rid of those static_casts as well...) -- Lgb