summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-04-28 21:52:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-04-28 21:52:46 (GMT)
commitfd5b75e3f417feebc3015ef0294bc1425cece1e8 (patch)
treea6d462f03040a2361d800248f2ad5af9e386eb9b /Source
parenta170690fd2490fb84c87d7897f5ceac78da8f512 (diff)
downloadCMake-fd5b75e3f417feebc3015ef0294bc1425cece1e8.zip
CMake-fd5b75e3f417feebc3015ef0294bc1425cece1e8.tar.gz
CMake-fd5b75e3f417feebc3015ef0294bc1425cece1e8.tar.bz2
Fix for for bug #10550, fix some errors for an old Sun compiler.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx1
-rw-r--r--Source/CTest/cmCTestGIT.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index a125459..bc02fbc 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -551,6 +551,7 @@ class cmCTestBuildHandler::FragmentCompare
{
public:
FragmentCompare(cmFileTimeComparison* ftc): FTC(ftc) {}
+ FragmentCompare(): FTC(0) {}
bool operator()(std::string const& l, std::string const& r)
{
// Order files by modification time. Use lexicographic order
diff --git a/Source/CTest/cmCTestGIT.h b/Source/CTest/cmCTestGIT.h
index 2561ed4..0b6ad2e 100644
--- a/Source/CTest/cmCTestGIT.h
+++ b/Source/CTest/cmCTestGIT.h
@@ -35,6 +35,7 @@ private:
void LoadRevisions();
void LoadModifications();
+public: // needed by older Sun compilers
// Parsing helper classes.
class OneLineParser;
class DiffParser;