Uploaded image for project: '1D Redmine '
  1. 1D Redmine
  2. REDMINE1D-397

[RM-8633] [code] Remove compilation warnings at swig stage

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Created on 2024-02-02 10:30:29 by Ali Allaoui. % Done: 0

      @boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
      395 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() )@ -> Upgrade boost ?
      @net/CESAM/amazed/venvs/shared/include/boost/mpl/assert.hpp: At global scope:
      /net/CESAM/amazed/venvs/shared/include/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses]
      188 | failed ************ (Pred::************@ idem

      @ RedshiftLibrary/RedshiftLibrary/linemodel/abstractfitter.h:120:19: warning: comparison of integer expressions of different signedness: ‘std::__shared_ptr_access<int, __gnu_cxx::_S_atomic, false, false>::element_type’

      {aka ‘int’}

      and ‘std::vector<std::shared_ptr<const NSEpic::CSpectrum> >::size_type’

      {aka ‘long unsigned int’}

      [-Wsign-compare]
      120 | if (*m_curObs >= m_inputSpcs->size())
      @
      fix other lines in abstractfitter.h and in continuummanager.h

        Attachments

          Activity

            People

            • Assignee:
              r2j.migrate Redmine-Jira Migtation
              Reporter:
              r2j.migrate Redmine-Jira Migtation
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: