Many deprecated warnings for the deprecated class Ifpack2::Krylov
Created by: nschloe
When compiling Trilinos, I'm getting more than one thousand (!) warnings of the kind
/«PKGBUILDDIR»/packages/ifpack2/src/Ifpack2_Krylov_decl.hpp:280:19: warning: ‘template<class MatrixType> class Ifpack2::Krylov’ is deprecated [-Wdeprecated-declarations]
Krylov (const Krylov<MatrixType>& RHS);
^
In file included from /«PKGBUILDDIR»/obj-x86_64-linux-gnu/packages/ifpack2/src/Ifpack2_Krylov.hpp:1:0,
from /«PKGBUILDDIR»/packages/stokhos/src/sacado/kokkos/vector/ifpack2/Ifpack2_Krylov_MP_Vector.hpp:52,
from /«PKGBUILDDIR»/packages/stokhos/src/sacado/kokkos/vector/ifpack2/Stokhos_Ifpack2_MP_Vector.hpp:50,
from /«PKGBUILDDIR»/obj-x86_64-linux-gnu/packages/stokhos/src/Ifpack2_Diagonal_MP_Vector_Serial.cpp:48:
/«PKGBUILDDIR»/packages/ifpack2/src/Ifpack2_Krylov_decl.hpp:95:28: note: declared here
class IFPACK2_DEPRECATED Krylov :
^
The deprecating commit is
commit f45616d794c95455bf15abd859b1aefdec2710b3
Author: Mark Hoemmen <mhoemme@sandia.gov>
Date: Thu Aug 13 13:28:55 2015 -0600
Ifpack2::Krylov: Deprecated.
There's no need for Ifpack2 to implement Krylov methods. Belos does a
fine job of this. Furthermore, the LinearSolverFactory will make such
duplication of functionality unnecessary and obsolete.
Ifpack2::Factory, and other implementation-level factories in Ifpack2,
no longer create instances of Ifpack2::Krylov. Instead, they throw an
exception with an informative message. They no longer include
Ifpack2::Krylov header files. The header files still exist, but are
heavily marked as deprecated. The class itself uses the deprecated
macro.
so this is nearly a year old. Time to scratch Ifpack2_Krylov_decl.hpp
?