Opened 13 years ago

Closed 13 years ago

#3959 closed Bugs (fixed)

GCC compile warning for files including asio/detail/win_iocp_io_service.hpp

Reported by: Carus V. (Bud) Clarke <carus.v.clarke@…> Owned by: chris_kohlhoff
Milestone: Boost 1.43.0 Component: asio
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

Compiling files that indirectly include boost/asio/detail/win_iocp_io_service.hpp using GCC on the Cygwin platform causes a warning:

/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".

This is because two friend declarations for class operation are in file boost/asio/detail/win_iocp_io_service.hpp.

Attachments (1)

win_iocp_io_service.patch (403 bytes ) - added by Carus V. (Bud) Clarke <carus.v.clarke@…> 13 years ago.
Patch file that removes second friend declaration

Download all attachments as: .zip

Change History (2)

by Carus V. (Bud) Clarke <carus.v.clarke@…>, 13 years ago

Attachment: win_iocp_io_service.patch added

Patch file that removes second friend declaration

comment:1 by chris_kohlhoff, 13 years ago

Resolution: fixed
Status: newclosed

Fixed on release branch in changeset [60680].

Note: See TracTickets for help on using tickets.