Boost C++ Libraries: Ticket #5470: compile error in asio/detail/impl/win_iocp_io_service.ipp with cygwin-gcc https://svn.boost.org/trac10/ticket/5470 <p> With cygwin gcc-3 or gcc-4, compile error occurs in asio/detail/impl/win_iocp_io_service.ipp.<br /> </p> <pre class="wiki">$ gcc-3 -v Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) $ gcc-3 -c -D__USE_W32_SOCKETS /usr/local/boost/boost/asio.hpp /usr/local/boost/boost/asio/detail/impl/win_iocp_io_service.ipp: In member function `void boost::asio::detail::win_iocp_io_service::do_add_timer_queue(boost::asio::detail::timer_queue_base&amp;)': /usr/local/boost/boost/asio/detail/impl/win_iocp_io_service.ipp:461: error: no matching function for call to `boost::asio::detail::posix_thread::posix_thread(boost::asio::detail::win_iocp_io_service::timer_thread_function&amp;, int)' /usr/local/boost/boost/asio/detail/posix_thread.hpp:38: note: candidates are: boost::asio::detail::posix_thread::posix_thread(const boost::asio::detail::posix_thread&amp;) </pre><p> I think the ctor of asio::detail::posix_thread should have dummy int parameter for interface compatibility. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5470 Trac 1.4.3 chris_kohlhoff Mon, 06 Jun 2011 01:29:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5470#comment:1 https://svn.boost.org/trac10/ticket/5470#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> Should be fixed in release branch as of <a class="changeset" href="https://svn.boost.org/trac10/changeset/72428" title="Merge asio from trunk.">[72428]</a>. </p> Ticket