[cmake-commits] king committed cmMakefile.cxx 1.387 1.388
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 17 14:47:20 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12897
Modified Files:
cmMakefile.cxx
Log Message:
COMP: GCC 2.95 does not have std::string::clear() method.
Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -d -r1.387 -r1.388
--- cmMakefile.cxx 17 May 2007 17:20:44 -0000 1.387
+++ cmMakefile.cxx 17 May 2007 18:47:18 -0000 1.388
@@ -458,7 +458,7 @@
this->ListFileStack.pop_back();
if(fullPath!=0)
{
- fullPath->clear();
+ *fullPath = "";
}
this->AddDefinition("CMAKE_PARENT_LIST_FILE", currentParentFile.c_str());
this->AddDefinition("CMAKE_CURRENT_LIST_FILE", currentFile.c_str());
More information about the Cmake-commits
mailing list