[Cmake-commits] [cmake-commits] king committed SharedForward.h.in 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jul 9 14:15:37 EDT 2009


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

Modified Files:
	SharedForward.h.in 
Log Message:
COMP: More KWSys SharedForward pointer const-ness

This adds another cast to avoid pointer conversion warnings.
Unfortunately C does not recognize implicit conversions that add
cv-qualifiers as well as C++ does.


Index: SharedForward.h.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SharedForward.h.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** SharedForward.h.in	8 Jul 2009 19:09:16 -0000	1.13
--- SharedForward.h.in	9 Jul 2009 18:15:35 -0000	1.14
***************
*** 508,512 ****
  
    /* Replace the command line to be used.  */
!   argv = nargv;
    }
  #endif
--- 508,512 ----
  
    /* Replace the command line to be used.  */
!   argv = (char const* const*)nargv;
    }
  #endif



More information about the Cmake-commits mailing list