Merge topic 'ctest-svn-suncc-5.1'

ea17faa cmCTestSVN: Fix compilation with Sun CC 5.1
This commit is contained in:
Brad King 2012-10-09 08:39:11 -04:00 committed by CMake Topic Stage
commit 76f3fe73ba
2 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,7 @@ private:
// Extended revision structure to include info about external it refers to.
struct Revision;
friend struct Revision;
// Info of all the repositories (root, externals and nested ones).
std::list<SVNInfo> Repositories;

View File

@ -67,6 +67,9 @@ protected:
virtual void NoteNewRevision();
virtual bool WriteXMLUpdates(std::ostream& xml);
#if defined(__SUNPRO_CC) && __SUNPRO_CC <= 0x510
public: // Sun CC 5.1 needs help to allow cmCTestSVN::Revision to see this
#endif
/** Basic information about one revision of a tree or file. */
struct Revision
{
@ -80,6 +83,7 @@ protected:
std::string Log;
};
protected:
struct File;
friend struct File;