Bo Peng wrote:
g++ -o debug/common/text3.o -c -g -O -Idebug/common -Isrc -Isrc -Iboost src/text3.Csrc/text3.C: In function `void lyx::<unnamed>::mathDispatch(lyx::LCursor&, const lyx::FuncRequest&, bool)': src/text3.C:148: error: `old_pos' was not declared in this scope scons: *** [debug/common/text3.o] Error 1 scons: building terminated because of errors.
Problem is CMake gives me an error in Release mode because of "unused variable" but old_pos is need in Debug mode because of the assertion.
I've commented out the code for now as I don't know if this assertion is really useful... Georg?
Abdel.
