Index: actions.cpp =================================================================== --- actions.cpp (revision 67905) +++ actions.cpp (working copy) @@ -1414,10 +1414,10 @@ } // update the __FILENAME__ macro - *boost::spirit::classic::find(actions.macro, "__FILENAME__") = actions.filename.native(); + *boost::spirit::classic::find(actions.macro, "__FILENAME__") = actions.filename.string(); // parse the file - quickbook::parse_file(actions.filename.native().c_str(), actions, true); + quickbook::parse_file(actions.filename.string().c_str(), actions, true); // restore the values std::swap(actions.filename, filein); Index: actions_class.cpp =================================================================== --- actions_class.cpp (revision 67905) +++ actions_class.cpp (working copy) @@ -206,7 +206,7 @@ // turn off __FILENAME__ macro on debug mode = true std::string filename_str = debug_mode ? std::string("NO_FILENAME_MACRO_GENERATED_IN_DEBUG_MODE") : - filename.native(); + filename.string(); // add the predefined macros macro.add Index: doc_info_actions.cpp =================================================================== --- doc_info_actions.cpp (revision 67905) +++ doc_info_actions.cpp (working copy) @@ -77,7 +77,7 @@ qbk_major_version = 1; qbk_minor_version = 1; qbk_version_n = 101; - detail::outwarn(actions.filename.native(),1) + detail::outwarn(actions.filename.string(),1) << "Warning: Quickbook version undefined. " "Version 1.1 is assumed" << std::endl; } @@ -89,13 +89,13 @@ if (qbk_version_n == 106) { - detail::outwarn(actions.filename.native(),1) + detail::outwarn(actions.filename.string(),1) << "Quickbook 1.6 is still under development and is " "likely to change in the future." << std::endl; } else if(qbk_version_n < 100 || qbk_version_n > 106) { - detail::outerr(actions.filename.native(),1) + detail::outerr(actions.filename.string(),1) << "Unknown version of quickbook: quickbook " << qbk_major_version << "." @@ -121,7 +121,7 @@ if(!invalid_attributes.empty()) { - detail::outwarn(actions.filename.native(),1) + detail::outwarn(actions.filename.string(),1) << (invalid_attributes.size() > 1 ? "Invalid attributes" : "Invalid attribute") << " for '" << actions.doc_type << " document info': "