Refactoring #1278

Deprecated declarations by compiling on new systems

Added by ganeva over 4 years ago. Updated over 4 years ago.

Status:ArchivedStart date:13 Jan 2016
Priority:NormalDue date:
Assignee:herck% Done:

0%

Category:-
Target version:Sprint 30

Description

Compiling on new systems (debian sid, ubuntu wily) produces a lot of warnings on deprecated declarations. For example:
-------
In file included from /workdir/BornAgain/Core/Algorithms/inc/DistributionHandler.h:20:0,
from /workdir/BornAgain/Core/Algorithms/inc/GISASSimulation.h:22,
from /workdir/BornAgain/Core/Algorithms/inc/DWBASimulation.h:20,
from /workdir/BornAgain/Core/Algorithms/inc/LayerDWBASimulation.h:19,
from /workdir/BornAgain/Core/Samples/inc/Layer.h:21,
from /workdir/BornAgain/GUI/coregui/Models/TransformFromDomain.cpp:26:
/workdir/BornAgain/Core/Tools/inc/ParameterDistribution.h:86:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<IDistribution1D> mP_distribution;
-------

Warnings concern not only the BornAgain code, but also boost (system) and Eigen3 (from BornAgain/Thirdparty) libraries.

History

#1 Updated by herck over 4 years ago

  • Status changed from New to Sprint
  • Assignee set to herck
  • Target version set to Sprint 30

#2 Updated by herck over 4 years ago

  • Subject changed from Debrecated declarations by compiling on new systems to Deprecated declarations by compiling on new systems

#3 Updated by herck over 4 years ago

  • Status changed from Sprint to Resolved

The only remaining warnings concern ThirdParty folder or PythonAPI folder, which are not under direct control.

#4 Updated by pospelov over 4 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF