Asger Ottar Alstrup wrote: > I do not accept your evidence. Compile the code with my patch with mingw > and show me the errors. When I see that, I accept your evidence.
I sent you the patch that was needed to compile LyX 1.3.x with MinGW. Your patch contains vast changes to FileInfo.C, no? Mine does not. Yet appart from the change of lyx::Assert to BOOST_ASSERT, the only change to the file is to the namespace. Good enough for you? sed 's/lyx::Assert/BOOST_ASSERT/' 13x/src/support/FileInfo.C > \ FileInfo13x.C diff -u FileInfo13x.C devel/src/support/FileInfo.C @@ -5,19 +5,23 @@ * * \author Lars Gullik Bjønnes * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #include <config.h> -#include "FileInfo.h" -#include "LAssert.h" -#include "lstrings.h" +#include "support/FileInfo.h" +#include "support/lstrings.h" +#include <boost/assert.hpp> + +#include <cerrno> #include <sys/types.h> #include <sys/stat.h> -#include <cerrno> + +using std::string; + #if !S_IRUSR # if S_IREAD @@ -86,8 +90,6 @@ #endif -namespace lyx { - namespace { // builds 'rwx' string describing file access rights @@ -145,6 +147,9 @@ } // namespace anon +namespace lyx { +namespace support { + FileInfo::FileInfo() { init(); @@ -383,5 +388,6 @@ // the file access failed. return ::access(fname_.c_str(), p) == 0; } - + +} // namespace support } // namespace lyx -- Angus