Boost C++ Libraries: Ticket #5469: compile error in asio/detail/impl/win_iocp_io_service.ipp with cygwin-gcc https://svn.boost.org/trac10/ticket/5469 <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/5469 Trac 1.4.3 anonymous Thu, 14 Apr 2011 12:13:37 GMT <link>https://svn.boost.org/trac10/ticket/5469#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5469#comment:1</guid> <description> <p> sorry, duplicated post... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Thu, 14 Apr 2011 12:30:15 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5469#comment:2 https://svn.boost.org/trac10/ticket/5469#comment:2 <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">duplicate</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5470" title="#5470: Bugs: compile error in asio/detail/impl/win_iocp_io_service.ipp with cygwin-gcc (closed: fixed)">#5470</a> </p> Ticket