Angus Leeming <[EMAIL PROTECTED]> writes: | On Thursday 15 August 2002 8:33 pm, Lars Gullik Bjønnes wrote: | > [EMAIL PROTECTED] writes: | > | CVSROOT: /usr/local/lyx/cvsroot | > | Module name: lyx-devel | > | Repository: lyx-devel/src/frontends/qt2/ | > | Changes by: [EMAIL PROTECTED] 02/08/15 21:07:18 | > | | > | Modified files: | > | lyx-devel/src/frontends/qt2/: ChangeLog Dialogs.C Makefile.am | > | Added files: | > | lyx-devel/src/frontends/qt2/: Dialogs2.C Dialogs_impl.h | > | Removed files: | > | lyx-devel/src/frontends/qt2/: guiapi.C | > | | > | Log message: | > | Qt2 compiles again and in about half the time of xforms. | > | Lars, shall I change over the xforms code to this scheme? | > | > Currently I cannot even compile... so any improvement will be ok.. | > | > I still ahve link errors. | | With the xforms frontend? Do you have a guiapi.o in xforms ? If so, nuke it.
Ok... compile error instead now... o-exceptions -W -Wall -Winline -c ../../../../src/frontends/xforms/Dialogs2.C -MT Dialogs2.lo -MD -MP -MF .deps/Dialogs2.TPlo ../../../../boost/boost/checked_delete.hpp: In function `void boost::checked_delete(T*) [with T = MathPanelDialog]': ../../../../boost/boost/scoped_ptr.hpp:59: instantiated from `void boost::scoped_ptr<T>::scoped_ptr() [with T = MathPanelDialog]' ../../../../src/frontends/xforms/Dialogs_impl.h:205: instantiated from here ../../../../boost/boost/checked_delete.hpp:26: `sizeof' applied to incomplete type `MathPanelDialog' ../../../../boost/boost/checked_delete.hpp:26: creating array with size zero (` 0') ../../../../boost/boost/checked_delete.hpp:25: `x' has incomplete type ../../../../src/frontends/xforms/Dialogs_impl.h:67: forward declaration of ` struct FormMathsPanel' ../../../../src/frontends/controllers/GUI.h: At global scope: ../../../../src/frontends/controllers/GUI.h: In instantiation of `GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>': ../../../../boost/boost/checked_delete.hpp:26: instantiated from `void boost::checked_delete(T*) [with T = MinipageDialog]' ../../../../boost/boost/scoped_ptr.hpp:59: instantiated from `void boost::scoped_ptr<T>::scoped_ptr() [with T = MinipageDialog]' ../../../../src/frontends/xforms/Dialogs_impl.h:205: instantiated from here ../../../../src/frontends/controllers/GUI.h:36: `GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>::view_' has incomplete type ../../../../src/frontends/xforms/Dialogs_impl.h:68: forward declaration of ` struct FormMinipage' ../../../../src/frontends/controllers/GUI.h:32: `GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>::controller_' has incomplete type ../../../../src/frontends/xforms/Dialogs_impl.h:37: forward declaration of ` struct ControlMinipage' ../../../../src/frontends/controllers/GUI.h:21: confused by earlier errors, bailing out make[5]: *** [Dialogs2.lo] Error 1 make[5]: Leaving directory `/home/larsbj/Development/lyx-test/b -- Lgb