sal/cppunittester/cppunittester.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit c6feddb8ecbda5de417e4e0eaebd3ff9eafee7bb Author: Michael Meeks <michael.me...@collabora.com> Date: Tue May 20 13:38:49 2014 +0100 Win32 - warn of extraordinary behaviour with LoadLibrary and long PATHs Change-Id: I0a8ee157aa548a5b04df67a2355e3f4fd15e84cd diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 6e5258b..7ac8ab5 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -206,6 +206,14 @@ public: manager.load(testlib, args); } catch (const CppUnit::DynamicLibraryManagerException &e) { std::cerr << "DynamicLibraryManagerException: \"" << e.what() << "\"\n"; +#ifdef WIN32 + const char *pPath = getenv ("PATH"); + if (pPath && strlen (pPath) > 256) + { + std::cerr << "Windows has significant build problems with long PATH variables "; + std::cerr << "please check your PATH variable and re-autogen.\n"; + } +#endif return false; } #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits