The last couple svn versions have faild to compile because of this.
g++-4 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Trolltech/Qt-4.2.0/include -I/usr/local/Trolltech/Qt-4.2.0/include/QtGui -I/usr/local/Trolltech/Qt-4.2.0/include/QtCore -I../../../boost -I../../../src/frontends/controllers -Wextra -Wall -I/sw/include -Os -MT QParagraphDialog.lo -MD -MP -MF .deps/QParagraphDialog.Tpo -c QParagraphDialog.C -o QParagraphDialog.o QParagraphDialog.C: In member function 'void lyx::frontend::QParagraphDialog::alignmentToRadioButtons(lyx::LyXAlignment)': QParagraphDialog.C:143: error: 'BOOST_CURRENT_FUNCTION' was not declared in this scope
make[7]: *** [QParagraphDialog.lo] Error 1 make[6]: *** [all-recursive] Error 1 make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1