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

Subject: [Boost-bugs] [Boost C++ Libraries] #2720: shadow warnings in archive/text_oarchive.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-03 13:56:53


#2720: shadow warnings in archive/text_oarchive.hpp
-----------------------------------------------------+----------------------
 Reporter: david frink <david.frink_at_[hidden]> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: None
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 The simple code
 {{
 #include <boost/archive/text_oarchive.hpp>
 }}
 Compiled like so:
 {{
 g++ -Wshadow example.cpp
 }}

 Causes the warning:
 {{
 archive/text_oarchive.hpp:85: warning: declaration of 'os' shadows a
 member of 'this'
 }}

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