Opened 9 years ago

Closed 9 years ago

#8980 closed Bugs (fixed)

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

Reported by: lcarreon@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

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

./boost/asio/impl/io_service.hpp:85:317: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_COMPLETION_HANDLER_CHECK(CompletionHandler, handler) type_check;

./boost/asio/impl/io_service.hpp:102:317: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_COMPLETION_HANDLER_CHECK(CompletionHandler, handler) type_check;

./boost/asio/basic_socket.hpp:755:403: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_CONNECT_HANDLER_CHECK(ConnectHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:345:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:389:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:529:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:572:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:712:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:755:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:895:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;

./boost/asio/basic_datagram_socket.hpp:940:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;

./boost/asio/ip/basic_resolver.hpp:164:44: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

ResolveHandler, handler, iterator) type_check;

./boost/asio/ip/basic_resolver.hpp:257:44: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs]

ResolveHandler, handler, iterator) type_check;

Change History (1)

comment:1 by chris_kohlhoff, 9 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk in [85747]. Merged to release in [85838].

Note: See TracTickets for help on using tickets.