Browse Source

COMP: Fix cmCTestVC member access for HP compiler

The HP C++ compiler needs some help to allow access to some member
classes of cmCTestVC.
Brad King 16 years ago
parent
commit
7dbacb94f4
2 changed files with 5 additions and 1 deletions
  1. 2 1
      Source/CTest/cmCTestSVN.cxx
  2. 3 0
      Source/CTest/cmCTestVC.h

+ 2 - 1
Source/CTest/cmCTestSVN.cxx

@@ -274,7 +274,8 @@ bool cmCTestSVN::UpdateImpl()
 }
 
 //----------------------------------------------------------------------------
-class cmCTestSVN::LogParser: public OutputLogger, private cmXMLParser
+class cmCTestSVN::LogParser: public cmCTestVC::OutputLogger,
+                             private cmXMLParser
 {
 public:
   LogParser(cmCTestSVN* svn, const char* prefix):

+ 3 - 0
Source/CTest/cmCTestVC.h

@@ -78,6 +78,9 @@ protected:
     std::string Log;
   };
 
+  struct File;
+  friend struct File;
+
   /** Represent change to one file.  */
   struct File
   {