[Boost-bugs] [Boost C++ Libraries] #8856: [date_time] GCC 4.8+ warns unused local typedef...

Subject: [Boost-bugs] [Boost C++ Libraries] #8856: [date_time] GCC 4.8+ warns unused local typedef...
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-18 20:11:36


#8856: [date_time] GCC 4.8+ warns unused local typedef...
-------------------------------------------+------------------------
 Reporter: Chris Stylianou <chris5287@…> | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
-------------------------------------------+------------------------
 GCC 4.8+ warns unused local typedef...

 {{{
 posix_time_io.hpp:50
 typedef ‘std_ptime_facet’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 posix_time_io.hpp:117
 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 posix_time_io.hpp:183
 typedef ‘std_ptime_facet’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 local_time_io.hpp:39
 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 local_time_io.hpp:126
 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 date_parsing.hpp:116
 typedef ‘year_type’ locally defined but not used [-Wunused-local-typedefs]
 }}}

 {{{
 date_parsing.hpp:163
 typedef ‘year_type’ locally defined but not used [-Wunused-local-typedefs]
 }}}

 {{{
 string_convert.hpp:24
 typedef ‘input_type’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 strings_from_facet.hpp:38
 typedef ‘ostream_type’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 {{{
 strings_from_facet.hpp:89
 typedef ‘ostream_type’ locally defined but not used [-Wunused-local-
 typedefs]
 }}}

 Proposed fix attached.

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