
23 Aug
2004
23 Aug
'04
5:09 p.m.
Michael Stevens wrote:
ublas/matrix.hpp", line 1030: warning #504-D: nonstandard form for taking the address of a member function size1_ (ae ().size1 ()), size2_ (ae ().size2 ()), data_ (functor_type::size1 (size1, size2) + 1) {
The warning point to the functor_type::size1(size1,size2). The compiler is getting this very wrong. There is no address to be taken here! It should be calling the static 'size1' member of the functor_type. This is probably the cause of a few further failures.
I do not know if size1 is template function, but if it is that I think that Comeau is right. If functions should be called, then maybe "size1, size2" (lines 1030, 1031, 1032) should be replaced with "functor_type::size1(), functor_type::size2()" ? B.