Boost logo

Ublas :

Subject: [ublas] [numeric_bindings] Unused variables warnings in BLAS gemv, trsv, and gemm
From: sguazt (marco.guazzone_at_[hidden])
Date: 2012-01-30 03:08:10


Hello,

When compiling with GCC 4.6.2 with flags "-Wall -Wextra -ansi
-pedantic" I get the following 'unused variable' warnings:

boost-numeric_bindings/boost/numeric/bindings/blas/level2/gemv.hpp:207:13:
warning: unused parameter 'order' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level2/gemv.hpp:207:13:
warning: unused parameter 'trans' [-Wunused-parameter]

boost-numeric_bindings/boost/numeric/bindings/blas/level2/trsv.hpp:195:13:
warning: unused parameter 'order' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level2/trsv.hpp:195:13:
warning: unused parameter 'uplo' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level2/trsv.hpp:195:13:
warning: unused parameter 'trans' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level2/trsv.hpp:195:13:
warning: unused parameter 'diag' [-Wunused-parameter]

boost-numeric_bindings/boost/numeric/bindings/blas/level3/gemm.hpp:212:13:
warning: unused parameter 'order' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level3/gemm.hpp:212:13:
warning: unused parameter 'transa' [-Wunused-parameter]
boost-numeric_bindings/boost/numeric/bindings/blas/level3/gemm.hpp:212:13:
warning: unused parameter 'transb' [-Wunused-parameter]

They are very annoying since increase the length of the compiler output.

Is it possible to remove them?

Thank you very much.

Best,

-- Marco