Re: [Boost-bugs] [Boost C++ Libraries] #8546: GCC 4.8 warns unused local typedef

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8546: GCC 4.8 warns unused local typedef
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-18 20:31:22


#8546: GCC 4.8 warns unused local typedef
------------------------------------------+-----------------------
  Reporter: Wei-Chiu Chuang <weichiu@…> | Owner: marshall
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: algorithm
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+-----------------------
Changes (by Chris Stylianou <chris5287@…>):

 * owner: jsiek => marshall
 * type: Patches => Bugs
 * version: Boost Development Trunk => Boost 1.54.0
 * component: concept_check => algorithm

Comment:

 It appears 'boost/concept/detail/general.hpp' and 'boost/lexical_cast.hpp'
 have already been patched in the trunk.

 I've recreated the patch to target the
 'boost/algorithm/string/detail/finder.hpp' warnings:

 {{{
 finder.hpp:145
 typedef ‘input_iterator_type’ locally defined but not used [-Wunused-
 local-typedefs]
 }}}

 {{{
 finder.hpp:266
 typedef ‘input_iterator_type’ locally defined but not used [-Wunused-
 local-typedefs]
 }}}

 {{{
 finder.hpp:301
 typedef ‘input_iterator_type’ locally defined but not used [-Wunused-
 local-typedefs]
 }}}

 {{{
 finder.hpp:365
 typedef ‘input_iterator_type’ locally defined but not used [-Wunused-
 local-typedefs]
 }}}

 {{{
 finder.hpp:439
 typedef ‘input_iterator_type’ locally defined but not used [-Wunused-
 local-typedefs]
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8546#comment:3>
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:13 UTC