Pārlūkot izejas kodu

ENH: Moved disabling of warnings to after kwsys includes.

Brad King 22 gadi atpakaļ
vecāks
revīzija
89cf5d538c
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. 6 4
      Source/kwsys/SystemTools.cxx

+ 6 - 4
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>