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 Bennett