[Boost-bugs] [Boost C++ Libraries] #2721: shadow warnings in archive/text_iarchive.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #2721: shadow warnings in archive/text_iarchive.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-03 14:16:57


#2721: shadow warnings in archive/text_iarchive.hpp
-----------------------------------------------------+----------------------
 Reporter: david frink <david.frink_at_[hidden]> | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: serialization
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 The simple code:
 {{{
 #include <boost/serialization/serialization.hpp>
 #include <boost/archive/text_iarchive.hpp>
 struct foo {
     template<class A>void serialize(A&,const unsigned int) {}
 };

 }}}
 When compiled using:
 {{{
 g++ -Wshadow example.cpp
 }}}
 Generates shadow warnings:
 {{{
 archive/text_iarchive.hpp:86: warning: declaration of 'is' shadows a
 member of 'this'
 archive/text_iarchive.hpp:109: warning: declaration of 'is' shadows a
 member of 'this'
 }}}

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