Hi Jürgen, what follows is the patch necessary to compile lyx-1.5 with gcc 4.3.
May I apply it? -- José Abílio
Index: frontends/qt4/QGraphics.cpp =================================================================== --- frontends/qt4/QGraphics.cpp (revision 22847) +++ frontends/qt4/QGraphics.cpp (working copy) @@ -109,7 +109,7 @@ // returns the number of the string s in the vector v int getItemNo(vector<string> v, string const & s) { vector<string>::const_iterator cit = - find(v.begin(), v.end(), s); + std::find(v.begin(), v.end(), s); return (cit != v.end()) ? int(cit - v.begin()) : 0; } Index: frontends/controllers/ControlRef.cpp =================================================================== --- frontends/controllers/ControlRef.cpp (revision 22847) +++ frontends/controllers/ControlRef.cpp (working copy) @@ -75,7 +75,7 @@ vector<string> buffers = theBufferList().getFileNames(); string const name = kernel().buffer().fileName(); vector<string>::const_iterator cit = - find(buffers.begin(), buffers.end(), name); + std::find(buffers.begin(), buffers.end(), name); if (cit == buffers.end()) return 0; return int(cit - buffers.begin()); Index: Format.cpp =================================================================== --- Format.cpp (revision 22847) +++ Format.cpp (working copy) @@ -30,8 +30,8 @@ using std::string; using std::distance; +using std::find_if; - namespace lyx { using support::absolutePath;