summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-08 14:21:30 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-08 14:21:30 (GMT)
commitb2d7a839a41e5bb922dded739cb17669ca8c5701 (patch)
treea9ef81b24dc8f15f7901cf0e3ed8b2e87f0a148e /Source/cmMakefile.cxx
parent192de486dfc981b6560bcfa08eeba903611d47d4 (diff)
downloadCMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.zip
CMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.tar.gz
CMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.tar.bz2
COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 29f92e7..f50cbf7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -315,9 +315,9 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
{
if(isError)
{
- i->Status->SetNestedError(true);
+ (*i).Status->SetNestedError(true);
}
- cmListFileContext const& lfc = *i->Context;
+ cmListFileContext const& lfc = *(*i).Context;
msg
<< " at "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
@@ -341,7 +341,7 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
msg << " with call stack {\n";
while(i != this->CallStack.rend())
{
- cmListFileContext const& lfc = *i->Context;
+ cmListFileContext const& lfc = *(*i).Context;
msg << " "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
cmLocalGenerator::HOME)