[cmake-commits] martink committed hashtable.hxx.in 1.15 1.16

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 6 10:56:23 EST 2007


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

Modified Files:
	hashtable.hxx.in 
Log Message:
COMP: shut up w4 warning


Index: hashtable.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/hashtable.hxx.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- hashtable.hxx.in	30 Mar 2006 18:49:56 -0000	1.15
+++ hashtable.hxx.in	6 Mar 2007 15:56:21 -0000	1.16
@@ -39,6 +39,11 @@
 #ifndef @KWSYS_NAMESPACE at _hashtable_hxx
 #define @KWSYS_NAMESPACE at _hashtable_hxx
 
+/* turn off no assignment warning */
+#if defined(_MSC_VER)
+#  pragma warning ( disable : 4512 ) /* no assignment operator for class */
+#endif
+
 #include <@KWSYS_NAMESPACE@/Configure.hxx>
 
 #include <@KWSYS_NAMESPACE@/cstddef>        // size_t



More information about the Cmake-commits mailing list