Jean-Marc Lasgouttes wrote: > Abdelrazak> Please try to link in order to make sure. > > It does link, but I do not like the warnings.
It does not here: BufferView.o: In function `lyx::BufferView::getStatus(lyx::FuncRequest const&)': /home/juergen/lyx/lyx-qt/src/BufferView.C:611: undefined reference to `lyx::DocIterator::inTexted() const' BufferView.o: In function `lyx::BufferView::menuInsertLyXFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/juergen/lyx/lyx-qt/src/BufferView.C:1451: undefined reference to `lyx::DocIterator::inTexted() const' BufferView.o: In function `lyx::BufferView::mouseSetCursor(lyx::LCursor&)': /home/juergen/lyx/lyx-qt/src/BufferView.C:1279: undefined reference to `lyx::DocIterator::inTexted() const' CutAndPaste.o: In function `lyx::cap::copySelectionToStack(lyx::LCursor&)': /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:574: undefined reference to `lyx::DocIterator::inTexted() const' /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:593: undefined reference to `lyx::DocIterator::inMathed() const' CutAndPaste.o: In function `lyx::cap::cutSelection(lyx::LCursor&, bool, bool)': /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:493: undefined reference to `lyx::DocIterator::inTexted() const' /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:542: undefined reference to `lyx::DocIterator::inMathed() const' CutAndPaste.o: In function `lyx::cap::pasteParagraphList(lyx::LCursor&, lyx::RandomAccessList<lyx::Paragraph> const&, unsigned long, lyx::ErrorList&)': /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:619: undefined reference to `lyx::DocIterator::inTexted() const' /home/juergen/lyx/lyx-qt/src/CutAndPaste.C:635: undefined reference to `lyx::DocIterator::inMathed() const' buffer_funcs.o: In function `lyx::countWords(lyx::DocIterator const&, lyx::DocIterator const&)': /home/juergen/lyx/lyx-qt/src/buffer_funcs.C:264: undefined reference to `lyx::DocIterator::inTexted() const' cursor.o: In function `lyx::LCursor::getPossibleLabel()': /home/juergen/lyx/lyx-qt/src/cursor.C:1222: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o: In function `lyx::LCursor::pullArg()': /home/juergen/lyx/lyx-qt/src/cursor.C:976: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o: In function `lyx::LCursor::erase()': /home/juergen/lyx/lyx-qt/src/cursor.C:837: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o: In function `lyx::LCursor::insert(lyx::InsetBase*)': /home/juergen/lyx/lyx-qt/src/cursor.C:719: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o: In function `lyx::LCursor::insert(wchar_t)': /home/juergen/lyx/lyx-qt/src/cursor.C:699: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o:/home/juergen/lyx/lyx-qt/src/cursor.C:780: more undefined references to `lyx::DocIterator::inMathed() const' follow cursor.o: In function `lyx::LCursor::selectionAsString(bool) const': /home/juergen/lyx/lyx-qt/src/cursor.C:1169: undefined reference to `lyx::DocIterator::inTexted() const' /home/juergen/lyx/lyx-qt/src/cursor.C:1198: undefined reference to `lyx::DocIterator::inMathed() const' cursor.o: In function `lyx::LCursor::currentState()': /home/juergen/lyx/lyx-qt/src/cursor.C:1207: undefined reference to `lyx::DocIterator::inMathed() const' /home/juergen/lyx/lyx-qt/src/cursor.C:1213: undefined reference to `lyx::DocIterator::inTexted() const' lyxfind.o: In function `lyx::(anonymous namespace)::findChange(lyx::DocIterator&)': /home/juergen/lyx/lyx-qt/src/lyxfind.C:128: undefined reference to `lyx::DocIterator::inTexted() const' lyxfind.o: In function `lyx::(anonymous namespace)::findForward(lyx::DocIterator&, lyx::(anonymous namespace)::MatchString const&)': /home/juergen/lyx/lyx-qt/src/lyxfind.C:108: undefined reference to `lyx::DocIterator::inTexted() const' lyxfind.o: In function `lyx::(anonymous namespace)::findBackwards(lyx::DocIterator&, lyx::(anonymous namespace)::MatchString const&)': /home/juergen/lyx/lyx-qt/src/lyxfind.C:118: undefined reference to `lyx::DocIterator::inTexted() const' lyxfunc.o: In function `lyx::LyXFunc::dispatch(lyx::FuncRequest const&)': /home/juergen/lyx/lyx-qt/src/lyxfunc.C:1734: undefined reference to `lyx::DocIterator::inTexted() const' text3.o:/home/juergen/lyx/lyx-qt/src/text3.C:1697: more undefined references to `lyx::DocIterator::inTexted() const' follow undo.o: In function `lyx::(anonymous namespace)::doRecordUndo(lyx::Undo::undo_kind, lyx::DocIterator const&, long, long, lyx::DocIterator const&, lyx::BufferParams const&, bool, lyx::limited_stack<lyx::Undo>&)': /home/juergen/lyx/lyx-qt/src/undo.C:97: undefined reference to `lyx::DocIterator::inMathed() const' undo.o: In function `lyx::(anonymous namespace)::textUndoOrRedo(lyx::BufferView&, lyx::limited_stack<lyx::Undo>&, lyx::limited_stack<lyx::Undo>&)': /home/juergen/lyx/lyx-qt/src/undo.C:168: undefined reference to `lyx::DocIterator::inMathed() const' mathed/.libs/libmathed.a(InsetMathHull.o): In function `lyx::InsetMathHull::doExtern(lyx::LCursor&, lyx::FuncRequest&)': /home/juergen/lyx/lyx-qt/src/mathed/InsetMathHull.C:985: undefined reference to `lyx::DocIterator::inMathed() const' mathed/.libs/libmathed.a(InsetMathHull.o): In function `lyx::InsetMathHull::revealCodes(lyx::LCursor&) const': /home/juergen/lyx/lyx-qt/src/mathed/InsetMathHull.C:1329: undefined reference to `lyx::DocIterator::inMathed() const' frontends/.libs/libfrontends.a(LyXView.o): In function `lyx::LyXView::updateLayoutChoice()': /home/juergen/lyx/lyx-qt/src/frontends/LyXView.C:387: undefined reference to `lyx::DocIterator::inMathed() const' frontends/.libs/libfrontends.a(LyXView.o):/home/juergen/lyx/lyx-qt/src/frontends/LyXView.C:316: more undefined references to `lyx::DocIterator::inMathed() const' follow frontends/controllers/.libs/libcontrollers.a(ControlSpellchecker.o): In function `lyx::frontend::(anonymous namespace)::isLetter(lyx::DocIterator const&)': /home/juergen/lyx/lyx-qt/src/frontends/controllers/ControlSpellchecker.C:145: undefined reference to `lyx::DocIterator::inTexted() const' collect2: ld returned 1 exit status Jürgen