On Mon, Sep 22, 2003 at 08:18:08PM +0000, Angus Leeming spake thusly:
 
> shrug. Fair enough. If the container is complaining that it needs LyXFont, 
> then maybe we should believe it. Perhaps paragraph_pimpl.h itself is 
> inconsistent on your box. Ie, it wouldn't compile on its own.
> 
> I attach the tester script that I've been using. Put check_compile.sh and 
> compile_utils.sh in the same directory and, from ${LYXTOP}/src run
> $ sh {PATH_TO}/check_compile.sh paragraph_pimpl.h
> 
> If _that_ falls over, then the correct place to put the #include is in the 
> header file itself.
> 
> -- 
> Angus

"paragraph_pimpl.h could not be compiled."

error log attached (same as before, more or less)

- Martin
In file included from tmp16384.C:2:
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp: In function `void 
boost::checked_delete<LyXFont>(LyXFont *)':
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:52:   instantiated from 
`boost::checked_deleter<LyXFont>::operator ()(LyXFont *) const'
/home/mv/lyx-cvs/src/../boost/boost/detail/shared_count.hpp:352:   instantiated from 
`boost::detail::shared_count::shared_count<LyXFont *, boost::checked_deleter<LyXFont> 
>(LyXFont *, boost::checked_deleter<LyXFont>)'
/home/mv/lyx-cvs/src/../boost/boost/shared_ptr.hpp:114:   instantiated from 
`boost::shared_ptr<LyXFont>::shared_ptr<LyXFont>(LyXFont *)'
/home/mv/lyx-cvs/src/../boost/boost/shared_ptr.hpp:222:   instantiated from 
`boost::shared_ptr<LyXFont>::reset<LyXFont>(LyXFont *)'
ShareContainer.h:47:   instantiated from `ShareContainer<LyXFont>::get(const LyXFont 
&) const'
paragraph_pimpl.h:101:   instantiated from here
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:32: `sizeof' applied to 
incomplete type `LyXFont'
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:32: size of array 
`type_must_be_complete' is negative
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:33: `sizeof' applied to 
incomplete type `LyXFont'
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:33: creating array with size 
`-1'
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:34: invalid use of undefined 
type `class LyXFont'
paragraph.h:37: forward declaration of `class LyXFont'
/home/mv/lyx-cvs/src/../boost/boost/checked_delete.hpp:30: incomplete `x' defined here
ShareContainer.h: In method `class boost::shared_ptr<LyXFont> 
ShareContainer<LyXFont>::get(const LyXFont &) const':
paragraph_pimpl.h:101:   instantiated from here
ShareContainer.h:47: invalid use of undefined type `class LyXFont'
paragraph.h:37: forward declaration of `class LyXFont'
ShareContainer.h: In method `bool ShareContainer<LyXFont>::isEqual::operator ()(const 
boost::shared_ptr<LyXFont> &) const':
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_algo.h:158: 
  instantiated from `find_if<boost::shared_ptr<LyXFont> *, 
ShareContainer<LyXFont>::isEqual>(boost::shared_ptr<LyXFont> *, 
boost::shared_ptr<LyXFont> *, ShareContainer<LyXFont>::isEqual, 
random_access_iterator_tag)'
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_algo.h:199: 
  instantiated from here
ShareContainer.h:68: no match for `LyXFont & == const LyXFont &'
changes.h:42: candidates are: bool operator ==(const Change &, const Change &)
changes.h:121:                 bool operator ==(const Changes::Range &, const 
Changes::Range &)

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to