Alfredo Braunstein <[EMAIL PROTECTED]> writes:
> Juergen Spitzmueller wrote:
>
> > ControlRef. Does it help if you change LyX's ControlRef and all instances
> > to ControlLyXRef or something?
>
> adding
>
> #define ControlRef ControlLyXRef
>
> to the top of src/frontends/controllers/ControlRef.h may just work...
Thanks to Juergen and Alfredo. This gets close, but the compile of
lyx-1.3.2 later gags at:
In file included from /usr/local/src/qt-mac-free-3.1.2/include/qfont.h:42,
from Qt2Base.h:22,
from QAbout.h:19,
from Dialogs_impl.h:54,
from Dialogs.C:19:
/usr/local/src/qt-mac-free-3.1.2/include/qwindowdefs.h:104: conflicting types for
`typedef struct OpaqueControlRef * ControlLyXRef'
../../../src/frontends/controllers/ControlRef.h:45: previous declaration as `class
ControlLyXRef'
../../../src/frontends/controllers/GUI.h: In method `GUI<OpaqueControlRef
*,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::GUI(LyXView &, Dialogs &)':
Dialogs.C:82: instantiated from here
../../../src/frontends/controllers/GUI.h:44: warning: initializer list treated as
compound expression
../../../src/frontends/controllers/GUI.h:44: invalid use of undefined type `class
LyXView'
../../../src/frontends/Dialogs.h:25: forward declaration of `class LyXView'
../../../src/frontends/controllers/GUI.h:47: request for member `setView' in
`GUI<OpaqueControlRef *,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::controller_', which
is of non-aggregate type `OpaqueControlRef *'
../../../src/frontends/controllers/GUI.h:48: request for member `setButtonController'
in `GUI<OpaqueControlRef *,QRef,NoRepeatedApplyReadOnlyPolicy,Qt2BC>::controller_',
which is of non-aggregate type `OpaqueControlRef *'
../../../src/frontends/controllers/GUI.h:49: no matching function for call to
`QRef::setController (OpaqueControlRef *&)'
../../../src/frontends/controllers/ViewBase.h:53: candidates are: void
ViewBase::setController(ControlButtons &)
make[2]: *** [Dialogs.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I'd welcome further suggestions. Regards,
--
Ronald Florence www.18james.com