I wonder why I did not fix these ones last time I compiled without assertions... Anyway, here are a few files that require #include <boost/current_function.hpp>
Lars, considering that this is (slightly) ugly, would you prefer a patch that includes this header in debug.h (considering that these names are only needed with lyxerr)? JMarc
Index: src/dociterator.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/dociterator.C,v retrieving revision 1.25 diff -u -p -r1.25 dociterator.C --- src/dociterator.C 25 Feb 2005 11:55:31 -0000 1.25 +++ src/dociterator.C 25 Feb 2005 16:23:20 -0000 @@ -22,6 +22,7 @@ #include "mathed/math_inset.h" #include <boost/assert.hpp> +#include <boost/current_function.hpp> using std::endl; Index: src/lyxfunc.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v retrieving revision 1.648 diff -u -p -r1.648 lyxfunc.C --- src/lyxfunc.C 15 Feb 2005 17:34:54 -0000 1.648 +++ src/lyxfunc.C 25 Feb 2005 16:23:20 -0000 @@ -90,6 +90,7 @@ #include "support/convert.h" #include "support/os.h" +#include <boost/current_function.hpp> #include <boost/filesystem/operations.hpp> #include <sstream> Index: src/text3.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v retrieving revision 1.285 diff -u -p -r1.285 text3.C --- src/text3.C 25 Feb 2005 11:55:36 -0000 1.285 +++ src/text3.C 25 Feb 2005 16:23:20 -0000 @@ -61,6 +61,8 @@ #include "mathed/math_hullinset.h" #include "mathed/math_macrotemplate.h" +#include <boost/current_function.hpp> + #include <clocale> #include <sstream>