"Thorsten Ottosen" <[EMAIL PROTECTED]> writes: > "David Abrahams" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> "Thorsten Ottosen" <[EMAIL PROTECTED]> writes: >> >> > When I just try include <boost/multi_array.hpp> I get these errors: >> > >> > Comeau C/C++ 4.3.0.1 (Aug 21 2002 15:45:32) for MS_WINDOWS_x86 >> > Copyright 1988-2002 Comeau Computing. All rights reserved. >> > MODE:strict warnings C++ >> > >> > "E:\C++\libraries\boost_1_29_0\boost/multi_array/subarray.hpp", line > 238: >> > error #20: >> > identifier "num_dimensions" is undefined >> > assert(other.num_dimensions() == num_dimensions()); >> > ^ >> >> Try this-> instead: >> >> assert(other.num_dimensions() == this->num_dimensions()); >> >> > "E:\C++\libraries\boost_1_29_0\boost/multi_array/subarray.hpp", line > 239: >> > error #20: >> > identifier "shape" is undefined >> > assert(std::equal(other.shape(),other.shape()+num_dimensions(), >> > ^ >> >> Likewise. > > yep. it needs a _big_ bunch of 'this->' to compile. Is Comeau really > wrong?
No, the code is wrong. > Who will make the changes? > I guess I can't do it since I only have access to the sandbox Why not do it and post a patch here? -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost