Opened 9 years ago

Closed 9 years ago

#8987 closed Bugs (fixed)

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

Reported by: lcarreon@… Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

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

libs/log/src/date_time_format_parser.cpp:321:23: warning: typedef ‘callback_type’ locally defined but not used [-Wunused-local-typedefs]

typedef CallbackT callback_type;

libs/log/src/init_from_settings.cpp:131:44: warning: typedef ‘string_type’ locally defined but not used [-Wunused-local-typedefs]

typedef std::basic_string< char_type > string_type;

libs/log/src/init_from_settings.cpp:702:43: warning: typedef ‘string_type’ locally defined but not used [-Wunused-local-typedefs]

typedef typename section::string_type string_type;

boost/log/expressions/formatters/c_decorator.hpp:223

Change History (1)

comment:1 by Andrey Semashev, 9 years ago

Resolution: fixed
Status: newclosed

It should already be fixed in trunk.

Note: See TracTickets for help on using tickets.