diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 5dbfb1a64..ae0bb1ff7 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -14,6 +14,10 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#ifdef _MSC_VER +# pragma warning (disable: 4786) +#endif + #include #include #include @@ -1247,7 +1251,7 @@ kwsys_std::string SystemTools::GetProgramPath(const char* in_name) bool SystemTools::SplitProgramPath(const char* in_name, kwsys_std::string& dir, kwsys_std::string& file, - bool errorReport) + bool) { dir = in_name; file = "";