[cmake-commits] hoffman committed cmCTestBuildHandler.cxx 1.49 1.50

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Nov 9 16:07:40 EST 2006


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

Modified Files:
	cmCTestBuildHandler.cxx 
Log Message:
ENH: fix it to work with stl debug mode on mac


Index: cmCTestBuildHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBuildHandler.cxx,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- cmCTestBuildHandler.cxx	19 Oct 2006 14:45:19 -0000	1.49
+++ cmCTestBuildHandler.cxx	9 Nov 2006 21:07:38 -0000	1.50
@@ -833,8 +833,9 @@
         {
         // This is not an error or warning.
         // So, figure out if this is a post-context line
-        if ( this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
-          this->PostContextCount < this->MaxPostContext )
+        if ( this->ErrorsAndWarnings.size() && 
+             this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
+             this->PostContextCount < this->MaxPostContext )
           {
           this->PostContextCount ++;
           this->LastErrorOrWarning->PostContext += line;



More information about the Cmake-commits mailing list