Ticket #5055: quickbook_windows_compile.patch

File quickbook_windows_compile.patch, 2.7 KB (added by Joshua Boyce <raptorfactor@…>, 12 years ago)
  • actions.cpp

     
    14141414        }
    14151415
    14161416        // 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();
    14181418
    14191419        // 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);
    14211421
    14221422        // restore the values
    14231423        std::swap(actions.filename, filein);
  • actions_class.cpp

     
    206206        // turn off __FILENAME__ macro on debug mode = true
    207207        std::string filename_str = debug_mode ?
    208208            std::string("NO_FILENAME_MACRO_GENERATED_IN_DEBUG_MODE") :
    209             filename.native();
     209            filename.string();
    210210
    211211        // add the predefined macros
    212212        macro.add
  • doc_info_actions.cpp

     
    7777            qbk_major_version = 1;
    7878            qbk_minor_version = 1;
    7979            qbk_version_n = 101;
    80             detail::outwarn(actions.filename.native(),1)
     80            detail::outwarn(actions.filename.string(),1)
    8181                << "Warning: Quickbook version undefined. "
    8282                "Version 1.1 is assumed" << std::endl;
    8383        }
     
    8989       
    9090        if (qbk_version_n == 106)
    9191        {
    92             detail::outwarn(actions.filename.native(),1)
     92            detail::outwarn(actions.filename.string(),1)
    9393                << "Quickbook 1.6 is still under development and is "
    9494                "likely to change in the future." << std::endl;
    9595        }
    9696        else if(qbk_version_n < 100 || qbk_version_n > 106)
    9797        {
    98             detail::outerr(actions.filename.native(),1)
     98            detail::outerr(actions.filename.string(),1)
    9999                << "Unknown version of quickbook: quickbook "
    100100                << qbk_major_version
    101101                << "."
     
    121121
    122122            if(!invalid_attributes.empty())
    123123            {
    124                 detail::outwarn(actions.filename.native(),1)
     124                detail::outwarn(actions.filename.string(),1)
    125125                    << (invalid_attributes.size() > 1 ?
    126126                        "Invalid attributes" : "Invalid attribute")
    127127                    << " for '" << actions.doc_type << " document info': "