Changeset 365 in pacpusframework for branches/0.2.x/src/PacpusLib


Ignore:
Timestamp:
Dec 15, 2015, 11:43:22 AM (9 years ago)
Author:
DHERBOMEZ Gérald
Message:

applying patch relative to ticket https://devel.hds.utc.fr/software/pacpus/ticket/1
Pass compilation under Windows 7, Qt5.5, boost 1.59
Pass compilation under Linux, Qt5.2, boost 1.54

Location:
branches/0.2.x/src/PacpusLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.2.x/src/PacpusLib/ComponentBase.cpp

    r349 r365  
    563563{
    564564    LOG_INFO("Parsing parameters...");
    565     LOG_INFO(mOptionsDescription);
     565        std::ostringstream temp_stream;         
     566        temp_stream << mOptionsDescription;     
     567        LOG_INFO(temp_stream.str());           
    566568   
    567569    po::variables_map vm;
  • branches/0.2.x/src/PacpusLib/XmlConfigFile.cpp

    r280 r365  
    190190        if (!m_document.setContent(&m_file, /*namespaceProcessing=*/true, &errorMsg, &errorLine, &errorColumn)) {
    191191            LOG_ERROR("cannot parse XML file " << m_file.fileName());
    192             LOG_ERROR(errorMsg << " at " << errorLine << ":" << errorColumn << " (line:col)");
     192                        LOG_ERROR(errorMsg.toStdString() << " at " << errorLine << ":" << errorColumn << " (line:col)");
    193193            m_file.close();
    194194            return 0;
Note: See TracChangeset for help on using the changeset viewer.