diff options
-rw-r--r-- | Source/cmDependsFortranParser.cxx | 1 | ||||
-rw-r--r-- | Source/cmDependsFortranParser.y | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmDependsFortranParser.cxx b/Source/cmDependsFortranParser.cxx index 1de6eee..3c43c63 100644 --- a/Source/cmDependsFortranParser.cxx +++ b/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 diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index 4ba4117..a3f60af 100644 --- a/Source/cmDependsFortranParser.y +++ b/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 %} |