Xpetra: compile issues in Xpetra_TpetraCrsGraph.hpp
Created by: jhux2
Reported by M. Howard, and also seen here. Possibly related to #3689.
[ 23%] Building CXX object packages/xpetra/sup/CMakeFiles/xpetra-sup.dir/Matrix/Xpetra_MatrixFactory.cpp.o
In file included from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(63),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_CrsMatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_Matrix.hpp(60),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.cpp(50):
/home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsGraph/Xpetra_TpetraCrsGraph.hpp(694): error: name followed by "::" must be a class or namespace name
TEUCHOS_TEST_FOR_EXCEPTION(true, Exception::RuntimeError,
^
In file included from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(63),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_CrsMatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_Matrix.hpp(60),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.cpp(50):
/home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsGraph/Xpetra_TpetraCrsGraph.hpp(696): error: no suitable constructor exists to convert from "Teuchos::ENull" to "Kokkos::StaticCrsGraph<int, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace::size_type={size_t={unsigned long}}, void>"
TEUCHOS_UNREACHABLE_RETURN(null);