Bennett Helm wrote:
younes branch won't compile for me; I get the following:
g++-4 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE
-DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -I../../../src
-I../../../src/frontends -I../../../images
-I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.4-universal///include
-I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.4-universal///include/Qt
-I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.4-universal///include/QtCore
-I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.4-universal///include/QtGui
-I../../../boost -I../../../src/frontends/controllers -Wextra -Wall -Os
-MT Application.lo -MD -MP -MF .deps/Application.Tpo -c Application.C -o
Application.o
Application.h: In static member function 'static OSErr
lyx::frontend::Application::handleOpenDocuments(const AERecord*,
AERecord*, long int)':
Application.h:58: error: invalid use of member
'lyx::frontend::Application::buffer_view_' in static member function
Application.C:147: error: from this location
make[7]: *** [Application.lo] Error 1
This is difficult to solve rapidly so please just comment out the three
problematic line in Application.C:
s_arg=QString::fromUtf8(qstr_buf);
// buffer_view_->workAreaDispatch(
// FuncRequest(LFUN_FILE_OPEN,
// fromqstr(s_arg)));
break;
I'll try to find a good fix with JMarc' suggested method.
Abdel.