Re: [Boost-bugs] [Boost C++ Libraries] #6693: tribool.hpp causes warnings under -Wshadow on gcc

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6693: tribool.hpp causes warnings under -Wshadow on gcc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-16 20:11:02


#6693: tribool.hpp causes warnings under -Wshadow on gcc
-------------------------------------------+--------------------------------
  Reporter: Ben Craig <ben.craig@…> | Owner: marshall
      Type: Bugs | Status: assigned
 Milestone: Boost 1.50.0 | Component: logic
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------+--------------------------------
Changes (by marshall):

  * owner: dgregor => marshall
  * status: new => assigned

Comment:

 Here's what I see in that file (both on trunk and release):

 {{{
    * \throws nothrow
    */
   tribool(bool initial_value) : value(initial_value? true_value :
 false_value) {}
 }}}

 It appears to me that this was fixed back in 2009.
 {{{
 ------------------------------------------------------------------------
 r53429 | vladimir_prus | 2009-05-29 23:36:18 -0700 (Fri, 29 May 2009) | 4
 lines

 Fix gcc -Wshadow warnings in tribool.
 }}}

 Are you sure that you are using version 1.49?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6693#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:50:09 UTC