|
Ublas : |
From: Thomas Lemaire (thomas.lemaire_at_[hidden])
Date: 2006-06-08 02:49:20
Dear list,
I report a problem at compilation of gesdd binding file using gcc 4.1
boost-sandbox/boost/numeric/bindings/lapack/gesdd.hpp:274: error: there are no
arguments to 'assert' that depend on a template parameter, so a declaration
of 'assert' must be available
boost-sandbox/boost/numeric/bindings/lapack/gesdd.hpp:274: error: (if you
use '-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
and using the -fpermissive does not solve the problem:
boost-sandbox/boost/numeric/bindings/lapack/gesdd.hpp: In function 'int
boost::numeric::bindings::lapack::gesdd_work(char, char, const MatrA&)':
boost-sandbox/boost/numeric/bindings/lapack/gesdd.hpp:274: warning: there are
no arguments to 'assert' that depend on a template parameter, so a
declaration of 'assert' must be available
The fix is to include the c assert declaration in gesdd.hpp:
#include <cassert>
can anybody commit this ?
cheers,
thomas
-- thomas http://www.laas.fr/~tlemaire