summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-10 19:45:25 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-10 19:45:25 (GMT)
commit89cf5d538c53af72c6f212d86e74011277233067 (patch)
treeab3b0cad988b2f04354d68f7b911f6a47af3e5fe
parentc4478740915a289eb202f94b8a2b60c2748700c4 (diff)
downloadCMake-89cf5d538c53af72c6f212d86e74011277233067.zip
CMake-89cf5d538c53af72c6f212d86e74011277233067.tar.gz
CMake-89cf5d538c53af72c6f212d86e74011277233067.tar.bz2
ENH: Moved disabling of warnings to after kwsys includes.
-rw-r--r--Source/kwsys/SystemTools.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 3e281c0..2c398c7 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -14,16 +14,18 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
-#ifdef _MSC_VER
-# pragma warning (disable: 4786)
-#endif
-
#include <SystemTools.hxx>
+
#include <RegularExpression.hxx>
#include <Directory.hxx>
+
#include <std/iostream>
#include <std/fstream>
+#ifdef _MSC_VER
+# pragma warning (disable: 4786)
+#endif
+
#include <stdio.h>
#include <sys/stat.h>
#include <ctype.h>