diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 6e5258bfc31f..7ac8ab5d676c 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 |