Changeset 365 in pacpusframework for branches/0.2.x


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
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/0.2.x/src/DBITEPlayerLib/DbtPlyEngine.cpp

    r288 r365  
    270270void DbtPlyEngine::setState(DbtPlyEngineState * newState)
    271271{
    272     BOOST_ASSERT(newState);
    273     LOG_DEBUG(mCurrentState->toString() << " => " << newState->toString());
     272        BOOST_ASSERT(newState);
     273        LOG_DEBUG(mCurrentState->toString().toStdString() << " => " << newState->toString().toStdString());
    274274    mCurrentState = newState;
    275275
  • branches/0.2.x/src/DBITEPlayerLib/DbtPlyFileManager.cpp

    r288 r365  
    286286    deltaTDbtTab_[(deltaTDbtTabLoop_++)%1000] = deltaT;
    287287    if (deltaT > kMaxPendingTimeFromEngineMicrosecs) {
    288         LOG_WARN(getName() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us");
    289         return;
     288                LOG_WARN(getName().toStdString() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us");
     289                return;
    290290    }
    291291
  • 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.