[Boost-bugs] [Boost C++ Libraries] #2719: shadow warnings in serialization/nvp.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #2719: shadow warnings in serialization/nvp.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-03 13:50:49


#2719: shadow warnings in serialization/nvp.hpp
-----------------------------------------------------+----------------------
 Reporter: david frink <david.frink_at_[hidden]> | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: serialization
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 One-line test program:
 {{{
 #include <boost/serialization.hpp>
 }}}
 Compiled like so:
 {{{
 g++ -Wshadow example.cpp
 }}}

 Causes the warning:
 {{{
 boost/serialization/nvp.hpp:46: warning: declaration of 'name' shadows a
 member of 'this'
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2719>
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