Modify

Ticket #8980 (closed Bugs: fixed)

Opened 8 months ago

Last modified 7 months ago

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;

Attachments

Change History

comment:1 Changed 7 months ago by chris_kohlhoff

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.