[cmake-commits] martink committed cmCommandArgumentParser.cxx 1.10 1.11 cmDependsFortranParser.cxx 1.6 1.7 cmDependsJavaParser.cxx 1.6 1.7 cmExprParser.cxx 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 5 10:36:08 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12417

Modified Files:
	cmCommandArgumentParser.cxx cmDependsFortranParser.cxx 
	cmDependsJavaParser.cxx cmExprParser.cxx 
Log Message:
COMP: shut up warnings


Index: cmDependsJavaParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsJavaParser.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmDependsJavaParser.cxx	1 Aug 2006 15:38:41 -0000	1.6
+++ cmDependsJavaParser.cxx	5 Mar 2007 15:36:06 -0000	1.7
@@ -33,6 +33,11 @@
    define necessary library symbols; they are noted "INFRINGES ON
    USER NAME SPACE" below.  */
 
+/* turn off some warning as this is generated code */
+#if defined(_MSC_VER)
+#  pragma warning ( disable : 4702 ) /* unreachable code */
+#endif
+
 /* Identify Bison output.  */
 #define YYBISON 1
 

Index: cmCommandArgumentParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCommandArgumentParser.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cmCommandArgumentParser.cxx	4 Oct 2006 18:37:41 -0000	1.10
+++ cmCommandArgumentParser.cxx	5 Mar 2007 15:36:06 -0000	1.11
@@ -34,6 +34,11 @@
    define necessary library symbols; they are noted "INFRINGES ON
    USER NAME SPACE" below.  */
 
+/* turn off some warning as this is generated code */
+#if defined(_MSC_VER)
+#  pragma warning ( disable : 4702 ) /* unreachable code */
+#endif
+
 /* Identify Bison output.  */
 #define YYBISON 1
 

Index: cmExprParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExprParser.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cmExprParser.cxx	1 Aug 2006 15:38:41 -0000	1.5
+++ cmExprParser.cxx	5 Mar 2007 15:36:06 -0000	1.6
@@ -33,6 +33,11 @@
    define necessary library symbols; they are noted "INFRINGES ON
    USER NAME SPACE" below.  */
 
+/* turn off some warning as this is generated code */
+#if defined(_MSC_VER)
+#  pragma warning ( disable : 4702 ) /* unreachable code */
+#endif
+
 /* Identify Bison output.  */
 #define YYBISON 1
 

Index: cmDependsFortranParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortranParser.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmDependsFortranParser.cxx	1 Aug 2006 15:38:41 -0000	1.6
+++ cmDependsFortranParser.cxx	5 Mar 2007 15:36:06 -0000	1.7
@@ -33,6 +33,12 @@
    define necessary library symbols; they are noted "INFRINGES ON
    USER NAME SPACE" below.  */
 
+/* turn off some warning as this is generated code */
+#if defined(_MSC_VER)
+#  pragma warning ( disable : 4244 ) /* loss of precision */
+#  pragma warning ( disable : 4702 ) /* unreachable code */
+#endif
+
 /* Identify Bison output.  */
 #define YYBISON 1
 



More information about the Cmake-commits mailing list