Re: [Boost-bugs] [Boost C++ Libraries] #2643: Warning C4224 in reversible_ptr_container and hash

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2643: Warning C4224 in reversible_ptr_container and hash
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-08 11:52:48


#2643: Warning C4224 in reversible_ptr_container and hash
---------------------------+------------------------------------------------
  Reporter: pbristow | Owner: danieljames
      Type: Bugs | Status: assigned
 Milestone: Boost 1.38.0 | Component: hash
   Version: Boost 1.37.0 | Severity: Cosmetic
Resolution: | Keywords: hash warnings
---------------------------+------------------------------------------------

Comment(by pbristow):

 Replying to [comment:1 danieljames]:
> I can probably change the parameter name 'array', but it'd be really
 helpful if you could post a small example that triggers the warning, as I
 don't understand why it's a nonstandard extension.

 This comes from very deep within code, so I have no idea how to create a
 simple example. The complaint is

 "formal parameter 'array' was previously defined as a type."

 I suspect reusing the name is not allowed by the Standard? But compilers
 permit it.
 I recommend disabling the warning in this code unit if a name change looks
 dodgy.

> The warning in reversible_ptr_container.hpp will need to be fixed in the
 ptr_container library, so you should create a separate ticket for that.

 I have created a new ticket for ptr_container #2644 making a similar
 complaint.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2643#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC