summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-01 16:28:38 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-01 16:28:38 (GMT)
commitc98687ed9e78878d3ce3a92d99672964fbb5761c (patch)
tree8a756f248bf68a0e8c4f56ae592e0c6d93af6678 /Source
parent289c74541a494f9566cd70328bd7b124dde3d75a (diff)
downloadCMake-c98687ed9e78878d3ce3a92d99672964fbb5761c.zip
CMake-c98687ed9e78878d3ce3a92d99672964fbb5761c.tar.gz
CMake-c98687ed9e78878d3ce3a92d99672964fbb5761c.tar.bz2
COMP: Disabling warning in generated code.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDependsFortranParser.cxx1
-rw-r--r--Source/cmDependsFortranParser.y1
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
%}