Treatment of 'deprecated' warnings in builds
Created by: dridzal
@trilinos/framework @trilinos/muelu @trilinos/tpetra The @trilinos/rol team has been seeing this warning for several months, so it may be good to register this as an issue (or at least document it). We don't know if this is related to the internal compiler error (see below) --probably not. In any case, it was my understanding that we needed to keep the nightly builds clean of any warnings. If 'deprecated' doesn't fall into this category, should we not disable such warnings in said builds? Please advise on policy.
http://testing.sandia.gov/cdash/viewBuildError.php?type=0&buildid=2694326
In file included from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../Utils/MueLu_Utilities_decl.hpp:59:0, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/BUILD/packages/muelu/src/MueLu_Utilities.hpp:1, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../MueCentral/MueLu_Level.hpp:68, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../MueCentral/MueLu_Factory.hpp:65, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../Smoothers/MueLu_SmootherPrototype_decl.hpp:52, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/BUILD/packages/muelu/src/MueLu_SmootherPrototype.hpp:1, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../Smoothers/MueLu_Ifpack2Smoother_decl.hpp:74, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/BUILD/packages/muelu/src/MueLu_Ifpack2Smoother.hpp:1, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../Smoothers/MueLu_SmootherCloner.hpp:56, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../MueCentral/MueLu_Hierarchy_decl.hpp:59, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/BUILD/packages/muelu/src/MueLu_Hierarchy.hpp:1, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/muelu/src/Interface/../Headers/MueLu.hpp:68, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/rol/example/PDE-OPT/poisson-boltzmann/../TOOLS/solver.hpp:68, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/rol/example/PDE-OPT/poisson-boltzmann/../TOOLS/pdeconstraint.hpp:54, from /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/rol/example/PDE-OPT/poisson-boltzmann/example_01.cpp:62: /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp: In instantiation of ‘void Xpetra::TpetraBlockCrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::getLocalDiagOffsets(Teuchos::ArrayRCP&) const [with Scalar = double; LocalOrdinal = int; GlobalOrdinal = int; Node = Kokkos::Compat::KokkosDeviceWrapperNodeKokkos::Serial]’: /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/rol/example/PDE-OPT/poisson-boltzmann/example_01.cpp:180:1: required from here /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp:339:7: warning: ‘void Tpetra::Experimental::BlockCrsMatrix<S, LO, GO, N>::getLocalDiagOffsets(Teuchos::ArrayRCP&) const [with Scalar = double; LO = int; GO = int; Node = Kokkos::Compat::KokkosDeviceWrapperNodeKokkos::Serial]’ is deprecated (declared at /data/jenkins/slave/workspace/Trilinos_continuous/CONTINUOUS_MPI_OPT_DEV_SHARED/Trilinos/packages/tpetra/core/src/Tpetra_Experimental_BlockCrsMatrix_decl.hpp:660) [-Wdeprecated-declarations] g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions.