LyX-1.4.0 used to compile without protest on MacOS-10.3.2, qt-3.1.2, gcc-3.3. After a recent cvs update the compilation breaks at:

source='insetlabel.C' object='insetlabel.lo' libtool=yes \
depfile='.deps/insetlabel.Plo' tmpdepfile='.deps/insetlabel.TPlo' \
depmode=gcc3 /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -g -O -fno-exceptions -W -Wall -c -o insetlabel.lo `test -f 'insetlabel.C' || echo './'`insetlabel.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -g -O -fno-exceptions -W -Wall -c insetlabel.C -MT insetlabel.lo -MD -MP -MF .deps/insetlabel.TPlo
In file included from insetlabel.C:19:
InsetList.h:21: error: redefinition of `class InsetList'
../../src/InsetList.h:24: error: previous definition of `class InsetList'
InsetList.h:28: error: syntax error before `::' token
InsetList.h:30: error: semicolon missing after declaration of `InsetList'
InsetList.h:30: error: extraneous `int' ignored
InsetList.h:30: error: non-member function `InsetList latex(const Buffer&,
std::ostream&, const OutputParams&)' cannot have `const' method qualifier
InsetList.h:32: error: syntax error before `const'
In file included from insetlabel.C:20:
../../src/iterators.h:40: error: `iterator' is not a member of type `InsetList'
../../src/iterators.h:40: error: template argument 1 is invalid
../../src/iterators.h:40: warning: ISO C++ forbids declaration of `it' with no
type
insetlabel.C: In function `void <unnamed>::changeRefsIfUnique(BufferView&,
const std::string&, const std::string&)':
insetlabel.C:77: error: `iterator' is not a member of type `InsetList'
insetlabel.C:77: error: parse error before `=' token
insetlabel.C:78: error: `it2' undeclared (first use this function)
insetlabel.C:78: error: (Each undeclared identifier is reported only once for
each function it appears in.)
insetlabel.C:78: error: `end' undeclared (first use this function)


I'd welcome suggestions on how to get this to compile again.  Thanks,
--

Ronald



Reply via email to