MultiArray warning under /Za

Boost 1.33.1 In multi_array.hpp: struct populate_index_ranges { multi_array_types::index_range operator()(multi_array_types::index base, multi_array_types::size_type extent) { return multi_array_types::index_range(base,base+extent); The parameter name extent seems to be typedef'ed previously. This results in: external\boost\include\boost\multi_array.hpp(46) : warning C4224: nonstandard extension used : formal parameter 'extent' was previously defined as a type I've changed it in my tree to be extent_. Sohail

Hi Sohail, Hmm, this warning sounds strange to me. I'm not absolutely sure, but it looks like an incorrect warning on the part of your compiler. What version of Visual C++ are you using? cheers, ron On Apr 5, 2006, at 2:41 PM, Sohail Somani wrote:
Boost 1.33.1
In multi_array.hpp:
struct populate_index_ranges { multi_array_types::index_range operator()(multi_array_types::index base, multi_array_types::size_type extent) { return multi_array_types::index_range(base,base+extent);
The parameter name extent seems to be typedef'ed previously. This results in:
external\boost\include\boost\multi_array.hpp(46) : warning C4224: nonstandard extension used : formal parameter 'extent' was previously defined as a type
I've changed it in my tree to be extent_.
Sohail _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/ listinfo.cgi/boost
participants (2)
-
Ronald Garcia
-
Sohail Somani