From c98687ed9e78878d3ce3a92d99672964fbb5761c Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Feb 2005 11:28:38 -0500 Subject: [PATCH] COMP: Disabling warning in generated code. --- Source/cmDependsFortranParser.cxx | 1 + Source/cmDependsFortranParser.y | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/cmDependsFortranParser.cxx b/Source/cmDependsFortranParser.cxx index 1de6eee13..3c43c631b 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 4ba4117f6..a3f60afb8 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 %}