From Ryan Pavlik, "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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user