On Aug 27, 2007, at 5:27 AM, Abdelrazak Younes wrote:
Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
For BRANCH_1_5 I think the simpler solution is to move the getPos
() call
above at the beginning of the LFUN machinery: LyXFunc::dispatch().
I'll try that solution, but I'd prefer that we use my solution for
trunk. Opinion Jurgen?
^^^^^^^
replace that with BRANCH.
For branch, your solution is not an option?
Yes, that's what I meant. Some difficulty to write this morning...
If so, go ahead.
OK.
This breaks compilation on both trunk and branch for me (Mac):
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -
I. -I../src -I../boost -Wextra -Wall -I/System/Library/Frameworks/
CoreFoundation.framework/Headers -g -Os -MT Text3.lo -MD -MP -
MF .deps/Text3.Tpo -c -o Text3.lo Text3.cpp
g++ -DHAVE_CONFIG_H -I. -I../src -I../boost -Wextra -Wall -I/System/
Library/Frameworks/CoreFoundation.framework/Headers -g -Os -MT
Text3.lo -MD -MP -MF .deps/Text3.Tpo -c Text3.cpp -o Text3.o
Text3.cpp: In member function 'void lyx::Text::dispatch(lyx::Cursor&,
lyx::FuncRequest&)':
Text3.cpp:1277: error: no matching function for call to
'lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest)'
Text3.cpp:344: note: candidates are: void lyx::Text::dispatch
(lyx::Cursor&, lyx::FuncRequest&)
make[2]: *** [Text3.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Bennett