Ticket #5055: quickbook_windows_compile.patch
File quickbook_windows_compile.patch, 2.7 KB (added by , 12 years ago) |
---|
-
actions.cpp
1414 1414 } 1415 1415 1416 1416 // update the __FILENAME__ macro 1417 *boost::spirit::classic::find(actions.macro, "__FILENAME__") = actions.filename. native();1417 *boost::spirit::classic::find(actions.macro, "__FILENAME__") = actions.filename.string(); 1418 1418 1419 1419 // parse the file 1420 quickbook::parse_file(actions.filename. native().c_str(), actions, true);1420 quickbook::parse_file(actions.filename.string().c_str(), actions, true); 1421 1421 1422 1422 // restore the values 1423 1423 std::swap(actions.filename, filein); -
actions_class.cpp
206 206 // turn off __FILENAME__ macro on debug mode = true 207 207 std::string filename_str = debug_mode ? 208 208 std::string("NO_FILENAME_MACRO_GENERATED_IN_DEBUG_MODE") : 209 filename. native();209 filename.string(); 210 210 211 211 // add the predefined macros 212 212 macro.add -
doc_info_actions.cpp
77 77 qbk_major_version = 1; 78 78 qbk_minor_version = 1; 79 79 qbk_version_n = 101; 80 detail::outwarn(actions.filename. native(),1)80 detail::outwarn(actions.filename.string(),1) 81 81 << "Warning: Quickbook version undefined. " 82 82 "Version 1.1 is assumed" << std::endl; 83 83 } … … 89 89 90 90 if (qbk_version_n == 106) 91 91 { 92 detail::outwarn(actions.filename. native(),1)92 detail::outwarn(actions.filename.string(),1) 93 93 << "Quickbook 1.6 is still under development and is " 94 94 "likely to change in the future." << std::endl; 95 95 } 96 96 else if(qbk_version_n < 100 || qbk_version_n > 106) 97 97 { 98 detail::outerr(actions.filename. native(),1)98 detail::outerr(actions.filename.string(),1) 99 99 << "Unknown version of quickbook: quickbook " 100 100 << qbk_major_version 101 101 << "." … … 121 121 122 122 if(!invalid_attributes.empty()) 123 123 { 124 detail::outwarn(actions.filename. native(),1)124 detail::outwarn(actions.filename.string(),1) 125 125 << (invalid_attributes.size() > 1 ? 126 126 "Invalid attributes" : "Invalid attribute") 127 127 << " for '" << actions.doc_type << " document info': "