Sfoglia il codice sorgente

COMP: Disabling warning in generated code.

Brad King 21 anni fa
parent
commit
c98687ed9e
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      Source/cmDependsFortranParser.cxx
  2. 1 0
      Source/cmDependsFortranParser.y

+ 1 - 0
Source/cmDependsFortranParser.cxx

@@ -192,6 +192,7 @@ static void cmDependsFortranError(yyscan_t yyscanner, const char* message)
 #endif
 #ifdef _MSC_VER
 # pragma warning (disable: 4102) /* Unused goto label.  */
+# pragma warning (disable: 4065) /* Switch contains default but no case. */
 #endif
 
 

+ 1 - 0
Source/cmDependsFortranParser.y

@@ -66,6 +66,7 @@ static void cmDependsFortranError(yyscan_t yyscanner, const char* message)
 #endif
 #ifdef _MSC_VER
 # pragma warning (disable: 4102) /* Unused goto label.  */
+# pragma warning (disable: 4065) /* Switch contains default but no case. */
 #endif
 %}