Opened 9 years ago

Closed 5 years ago

#8984 closed Bugs (fixed)

More -Wunused-local-typedef warnings when building Boost 1.54.0 with gcc 4.8.1

Reported by: lcarreon@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

These are the unused-local-typedef warnings specific to Boost.Spirit:

./boost/spirit/home/support/char_set/range_run_impl.hpp:28:48: warning: typedef ‘value_type’ locally defined but not used [-Wunused-local-typedefs]

typedef typename Range::value_type value_type;

./boost/spirit/home/support/char_set/range_run_impl.hpp:29:48: warning: typedef ‘integer_traits’ locally defined but not used [-Wunused-local-typedefs]

typedef integer_traits<value_type> integer_traits;

./boost/spirit/home/classic/core/primitives/primitives.hpp:50:68: warning: typedef ‘result_t’ locally defined but not used [-Wunused-local-typedefs]

typedef typename parser_result<self_t, ScannerT>::type result_t;

./boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:310:68: warning: typedef ‘iterator_t’ locally defined but not used [-Wunused-local-typedefs]

typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;

./boost/spirit/home/classic/tree/parse_tree.hpp:79:42: warning: typedef ‘attr_t’ locally defined but not used [-Wunused-local-typedefs]

typedef typename match_t::attr_t attr_t;

Change History (3)

comment:1 by viboes, 9 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:2 by Nikita Kniazev <nok.raven@…>, 5 years ago

Fixed with:

comment:3 by Joel de Guzman, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.