[Cmake-commits] [cmake-commits] king committed cmCTestVC.cxx 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 25 09:20:29 EST 2009


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

Modified Files:
	cmCTestVC.cxx 
Log Message:
COMP: Fix cmCTestVC char[]->string Borland warning

The Borland compiler warns about returning a char[] from a function with
return type std::string without an explicit construction.


Index: cmCTestVC.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestVC.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** cmCTestVC.cxx	24 Feb 2009 17:52:36 -0000	1.5
--- cmCTestVC.cxx	25 Feb 2009 14:20:26 -0000	1.6
***************
*** 87,91 ****
            t->tm_min,
            t->tm_sec);
!   return current_time;
  }
  
--- 87,91 ----
            t->tm_min,
            t->tm_sec);
!   return std::string(current_time);
  }
  



More information about the Cmake-commits mailing list