Martin Vermeer <[EMAIL PROTECTED]> writes: | On Mon, Nov 03, 2003 at 10:35:10PM +0000, Angus Leeming spake thusly: >> >> Martin Vermeer wrote: >> >> > Needed to compile. >> >> No way! (Do you know how long I spent minimizing the stuff in the >> headers?) >> >> Could you ascertain what is going wrong please rther than provide a >> field bandage when a butterfly plaster will do. > | It doesn't compile, that's what's going wrong. > | In file included from PosIterator.C:13: | /home/mv/STLport-4.5.3/stlport/stl/_list.h: In instantiation of | `_STL::_List_node<Paragraph>': | /home/mv/STLport-4.5.3/stlport/stl/_list.h:260: instantiated from | `_STL::list<Paragraph,_STL::allocator<Paragraph> >::begin()' | PosIterator.h:27: instantiated from here | /home/mv/STLport-4.5.3/stlport/stl/_list.h:77: invalid use of | undefined type `class Paragraph' | ParagraphList_fwd.h:18: forward declaration of `class Paragraph' > | Clear enough? > | If you want it minimal, throw out the identical include in PosIterator | instead ;-)
Seems that including paragraph.h in PosIterator.C would solve your problem. -- Lgb