Commit b2d7a839 authored by Brad King's avatar Brad King
Browse files

COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.

parent 192de486
...@@ -315,9 +315,9 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const ...@@ -315,9 +315,9 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
{ {
if(isError) if(isError)
{ {
i->Status->SetNestedError(true); (*i).Status->SetNestedError(true);
} }
cmListFileContext const& lfc = *i->Context; cmListFileContext const& lfc = *(*i).Context;
msg msg
<< " at " << " at "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(), << this->LocalGenerator->Convert(lfc.FilePath.c_str(),
...@@ -341,7 +341,7 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const ...@@ -341,7 +341,7 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
msg << " with call stack {\n"; msg << " with call stack {\n";
while(i != this->CallStack.rend()) while(i != this->CallStack.rend())
{ {
cmListFileContext const& lfc = *i->Context; cmListFileContext const& lfc = *(*i).Context;
msg << " " msg << " "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(), << this->LocalGenerator->Convert(lfc.FilePath.c_str(),
cmLocalGenerator::HOME) cmLocalGenerator::HOME)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment