When I tried to build an OSX binary for r4830 I ran into 2 compile errors:
Code:
/Users/.../SoftwareProjekte/FO/current/Xcode/../parse/Parse.cpp:452: error: invalid initialization of non-const reference of type 'boost::filesystem3::path&' from a temporary of type 'boost::filesystem3::path'
This error occurs inside the function parse_file_common in this code section:
Code:
...
// add newline at end to avoid errors when one is left out, but is expected by parsers
file_contents += "\n";
file_substitution(file_contents, path.parent_path());
macro_substitution(file_contents);
first = parse::text_iterator(file_contents.begin());
parse::text_iterator last(file_contents.end());
...
The other compile error seems to be related to the one above:
Code:
/Users/.../SoftwareProjekte/FO/current/Xcode/../parse/Parse.cpp:386: error: in passing argument 2 of 'void parse::file_substitution(std::string&, boost::filesystem3::path&)'
occuring in this code section:
Code:
...
void file_substitution(std::string& text, boost::filesystem::path& file_search_path) {
if (!boost::filesystem::is_directory(file_search_path)) {
Logger().errorStream() << "File parsing include substitution given search path that is not a director: " << file_search_path.string();
return;
}
try {
...
I'll try to troubleshoot this issue myself, but as usual I'm feeling out of my depth here, so that will take considerable effort on my part. As I'm short on time ATM, this most probably will take quite a while, and I won't be able to provide a OSX binary until this issue is solved. So if anyone can give me some pointers, I'd appreciate that very much

(and eleazar probably as well, as he'll get a current binary sooner...

).