Boost C++ Libraries: Ticket #710: asio redefine FD_SETSIZE macro https://svn.boost.org/trac10/ticket/710 <pre class="wiki">asio sockets_types.hpp line 59, redefine FD_SETSIZE macro! </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/710 Trac 1.4.3 chris_kohlhoff Sun, 05 Nov 2006 03:45:51 GMT status changed https://svn.boost.org/trac10/ticket/710#comment:1 https://svn.boost.org/trac10/ticket/710#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=1145801 Fixed in CVS. </pre> Ticket anonymous Wed, 01 Aug 2007 12:44:26 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/710#comment:2 https://svn.boost.org/trac10/ticket/710#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">None</span> </li> </ul> <p> I'm still getting this error when using asio 0.3.7 in a Window XP box with Visual C++ 2005 Express. </p> <p> c:\work\asio-0.3.7\include\asio\detail\socket_types.hpp(44) : warning C4005: 'FD_SETSIZE' : macro redefinition </p> Ticket daniel.dandrada@… Wed, 01 Aug 2007 12:45:31 GMT <link>https://svn.boost.org/trac10/ticket/710#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/710#comment:3</guid> <description> <p> Forgot to add my e-mail on the last change. </p> </description> <category>Ticket</category> </item> <item> <author>daniel.dandrada@…</author> <pubDate>Wed, 01 Aug 2007 12:51:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/710#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/710#comment:4</guid> <description> <p> The workaround on this issue seems to be putting "#include &lt;asio.hpp&gt;" as the first include. </p> <p> IMHO, a "#ifndef FD_SETSIZE" on socket_types.hpp wouldn't be a bad thing. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Mon, 20 Aug 2007 22:26:20 GMT</pubDate> <title>status changed; resolution, severity set https://svn.boost.org/trac10/ticket/710#comment:5 https://svn.boost.org/trac10/ticket/710#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> <p> As noted previously, this has already been fixed in CVS (now SVN). The fix was applied after asio 0.3.7, and will appear in the next release of asio as well as boost 1.35. </p> Ticket