diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-10 15:12:56 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-10 15:12:56 (GMT) |
commit | c8c3bd7acd88455772f0301062856e0d9622db31 (patch) | |
tree | fdec66913bf2cccfe2ad889798cd337fb1b35ab7 /Source/CTest | |
parent | da21bc79bb50059a658c9f7304852b5a307e92a1 (diff) | |
download | CMake-c8c3bd7acd88455772f0301062856e0d9622db31.zip CMake-c8c3bd7acd88455772f0301062856e0d9622db31.tar.gz CMake-c8c3bd7acd88455772f0301062856e0d9622db31.tar.bz2 |
ENH: merge from main tree fix for vs all build qt and mpi2
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index 9bbb4a2..8b960f5 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -833,7 +833,8 @@ void cmCTestBuildHandler::ProcessBuffer(const char* data, int length, { // This is not an error or warning. // So, figure out if this is a post-context line - if ( this->LastErrorOrWarning != this->ErrorsAndWarnings.end() && + if ( this->ErrorsAndWarnings.size() && + this->LastErrorOrWarning != this->ErrorsAndWarnings.end() && this->PostContextCount < this->MaxPostContext ) { this->PostContextCount ++; |