From Ryan Pavlik, merge from svn/trunk changeset 12608, "I have successfully compiled OpenSceneGraph trunk using the Clang compiler (using a recent trunk build of llvm and clang, haven't tested an older release). The attached files contain the change shown in the diff below, which was required to finish the build with Clang. It fixes an issue with two-phase name lookup - there's more information here http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html"

This commit is contained in:
Robert Osfield
2011-06-23 09:39:45 +00:00
parent e330051cf3
commit 893a6365a4
3 changed files with 8 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ namespace lwo2
throw parser_error("invalid file format");
}
while (it < end)
chk->data.push_back(parse_chunk(it, "FORM"));
chk->data.push_back(this->parse_chunk(it, "FORM"));
return chk;
}
}