Boost C++ Libraries: Ticket #8980: More -Wunused-local-typedef warnings when building Boost 1.54.0 with gcc 4.8.1 https://svn.boost.org/trac10/ticket/8980 <p> These are the unused-local-typedef warnings specific to Boost.Asio: </p> <p> ./boost/asio/impl/io_service.hpp:85:317: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_COMPLETION_HANDLER_CHECK(<a class="missing wiki">CompletionHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/impl/io_service.hpp:102:317: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_COMPLETION_HANDLER_CHECK(<a class="missing wiki">CompletionHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_socket.hpp:755:403: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_CONNECT_HANDLER_CHECK(<a class="missing wiki">ConnectHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:345:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_WRITE_HANDLER_CHECK(<a class="missing wiki">WriteHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:389:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_WRITE_HANDLER_CHECK(<a class="missing wiki">WriteHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:529:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_WRITE_HANDLER_CHECK(<a class="missing wiki">WriteHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:572:463: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_WRITE_HANDLER_CHECK(<a class="missing wiki">WriteHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:712:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_READ_HANDLER_CHECK(<a class="missing wiki">ReadHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:755:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_READ_HANDLER_CHECK(<a class="missing wiki">ReadHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:895:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_READ_HANDLER_CHECK(<a class="missing wiki">ReadHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/basic_datagram_socket.hpp:940:462: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> BOOST_ASIO_READ_HANDLER_CHECK(<a class="missing wiki">ReadHandler</a>, handler) type_check; </p> </blockquote> <p> ./boost/asio/ip/basic_resolver.hpp:164:44: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> <a class="missing wiki">ResolveHandler</a>, handler, iterator) type_check; </p> </blockquote> <p> ./boost/asio/ip/basic_resolver.hpp:257:44: warning: typedef ‘type_check’ locally defined but not used [-Wunused-local-typedefs] </p> <blockquote> <p> <a class="missing wiki">ResolveHandler</a>, handler, iterator) type_check; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8980 Trac 1.4.3 chris_kohlhoff Tue, 01 Oct 2013 08:28:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8980#comment:1 https://svn.boost.org/trac10/ticket/8980#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk in <a class="changeset" href="https://svn.boost.org/trac10/changeset/85747" title="Suppress g++ 4.8+ warning about unused typedefs.">[85747]</a>. Merged to release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/85838" title="Merge asio from trunk. ...">[85838]</a>. </p> Ticket