On Monday 22 September 2003 5:24 pm, Martin Vermeer wrote: > On Mon, Sep 22, 2003 at 04:56:04PM +0000, Angus Leeming spake thusly: > > On Monday 22 September 2003 3:36 pm, Martin Vermeer wrote: > > > Angus, I still need lyxfont.h in paragraph and paragraph_pimpl as > > > follows: > > > > The fix is really nasty (read fragile). Especially the > > position-dependence in paragraph.C. Could we dig a little deeper first > > and ascertain what exactly is going wrong. Compiler errors? > > > > Angus > > Attached.
Ahh. Then we need a destructor to Paragraph::Pimpl that is defined out of line I think. No need for Paragraph itself to know anything about this. Try: paragraph_pimpl.h: struct Paragraph::Pimpl { ~Pimpl(); ... }; paragraph_pimpl.C #include "lyxfont.h" Paragraph::Pimpl::~Pimpl() {} If it works, could I get you to just apply the patch? Angus