Boost C++ Libraries: Ticket #3959: GCC compile warning for files including asio/detail/win_iocp_io_service.hpp https://svn.boost.org/trac10/ticket/3959 <p> Compiling files that indirectly include boost/asio/detail/win_iocp_io_service.hpp using GCC on the Cygwin platform causes a warning: </p> <p> /c/dvlp/boost_1_42_0/boost/asio/detail/win_iocp_io_service.hpp:726: warning: "boost::asio::detail::win_iocp_io_service::operation" is already a friend of "boost::asio::detail::win_iocp_io_service". </p> <p> This is because two friend declarations for class operation are in file boost/asio/detail/win_iocp_io_service.hpp. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3959 Trac 1.4.3 Carus V. (Bud) Clarke <carus.v.clarke@…> Wed, 24 Feb 2010 17:29:46 GMT attachment set https://svn.boost.org/trac10/ticket/3959 https://svn.boost.org/trac10/ticket/3959 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">win_iocp_io_service.patch</span> </li> </ul> <p> Patch file that removes second friend declaration </p> Ticket chris_kohlhoff Thu, 18 Mar 2010 01:10:07 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3959#comment:1 https://svn.boost.org/trac10/ticket/3959#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 release branch in changeset <a class="changeset" href="https://svn.boost.org/trac10/changeset/60680" title="Merge reworked implementation from trunk. ">[60680]</a>. </p> Ticket