Jean-Marc Lasgouttes wrote:
Here is what I get:

In file included from ../../../../lyx-devel/src/BufferView.h:18,
                 from 
../../../../lyx-devel/src/frontends/controllers/ControlCommandBuffer.cpp:17:
../../../../lyx-devel/src/CoordCache.h: In member function `bool 
lyx::CoordCacheBase<T>::covers(const T*, int, int) const':
../../../../lyx-devel/src/CoordCache.h:111: error: expected `;' before "it"
../../../../lyx-devel/src/CoordCache.h:112: error: `it' undeclared (first use 
this function)
../../../../lyx-devel/src/CoordCache.h:112: error: (Each undeclared identifier 
is reported only once for each function it appears in.)

This is a problem with cache_type::const_iterator, but I do not know
which one... Am I the only one seeing that?

cache_type is defined just after, I guess your compiler doesn't see it. If I was a compiler expert, I'd say your compiler is broken ;-) Just replace cache_type to std::map<T const *, Geometry> and it will compile. Or put the typedef definition at the top of the class.
Could you do this please? I am in a middle of a change in this area...

Abdel.


Reply via email to