Opened 15 years ago
Closed 14 years ago
#1675 closed Bugs (fixed)
[range] VC8 - compiler warnings when including range/array headers
| Reported by: | Owned by: | Thorsten Ottosen | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | range | 
| Version: | Boost Development Trunk | Severity: | Cosmetic | 
| Keywords: | Cc: | 
Description
When using VC8/9 with the /Za (disable language extensions) option enabled, including range/begin.hpp or range/end.hpp after including boost/array.hpp results in some compiler warnings:
boost\range\begin.hpp(76) : warning C4224: nonstandard extension used : formal parameter 'array' was previously defined as a type \boost\range\begin.hpp(82) : warning C4224: nonstandard extension used : formal parameter 'array' was previously defined as a type \boost\range\end.hpp(74) : warning C4224: nonstandard extension used : formal parameter 'array' was previously defined as a type \boost\range\end.hpp(80) : warning C4224: nonstandard extension used : formal parameter 'array' was previously defined as a type
  Note:
 See   TracTickets
 for help on using tickets.
    

It is quite silly that the compiler gicves this warning, but I have changed the name of the parameter to 'a'.
-Thorsten