[Trilinos-Users] warning messages with version 10.8.5
Nikhil Kriplani
nmkripla at ncsu.edu
Fri Jan 13 12:36:31 MST 2012
Hi,
When compiling my code, I often get these warning messages (with gcc
4.6, Linux, 64-bit Ubuntu):
trilinos-10.8.5-Source/packages/teuchos/src/Teuchos_SerialDenseMatrix.hpp:
In copy constructor ‘Teuchos::SerialDenseMatrix<OrdinalType,
ScalarType>::SerialDenseMatrix(const
Teuchos::SerialDenseMatrix<OrdinalType, ScalarType>&,
Teuchos::ETransp) [with OrdinalType = int, ScalarType = double]’:
trilinos-10.8.5-Source/packages/teuchos/src/Teuchos_SerialDenseVector.hpp:224:55:
instantiated from ‘Teuchos::SerialDenseVector<OrdinalType,
ScalarType>::SerialDenseVector(const
Teuchos::SerialDenseVector<OrdinalType, ScalarType>&) [with
OrdinalType = int, ScalarType = double]’
trilinos-10.8.5-Source/packages/teuchos/src/Teuchos_SerialDenseMatrix.hpp:450:1:
warning: base class ‘class Teuchos::BLAS<int, double>’ should be
explicitly initialized in the copy constructor [-Wextra]
It doesn't prevent compilation, and the code runs fine. I was just
wondering if this warning is issued because of the way I was using
Trilinos/Teuchos?
Thanks,
Nik
More information about the Trilinos-Users
mailing list