Boost C++ Libraries: Ticket #2917: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected https://svn.boost.org/trac10/ticket/2917 <p> The expected result is that none of the serial port code would be included. This does not happen, many of the serial port related headers get included and potentially cause many compile errors (for example, if your platform doesn't have termios). </p> <p> Obviously there are a number of different ways to handle this problem, I can provide a patch if you like, but placement of the checks is just a matter of opinion (it seems like one would want to just put the check in the top level serial port files after boost/config.hpp is included, however). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2917 Trac 1.4.3 Dustin Spicuzza <dustin@…> Sat, 18 Apr 2009 19:16:45 GMT <link>https://svn.boost.org/trac10/ticket/2917#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2917#comment:1</guid> <description> <p> I've attached a patch that removes all serial port code if BOOST_ASIO_DISABLE_SERIAL_PORT is defined. </p> <p> This patch is required for vxWorks to compile correctly, due to no termios support. </p> </description> <category>Ticket</category> </item> <item> <author>Dustin Spicuzza <dustin@…></author> <pubDate>Sat, 18 Apr 2009 19:17:04 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/2917 https://svn.boost.org/trac10/ticket/2917 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_38_0.asio-serial.vxworks.patch</span> </li> </ul> Ticket chris_kohlhoff Sun, 19 Apr 2009 04:15:25 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2917#comment:2 https://svn.boost.org/trac10/ticket/2917#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52478" title="Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined. ...">[52478]</a>) Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined. Fixes <a class="reopened ticket" href="https://svn.boost.org/trac10/ticket/2917" title="#2917: Library Submissions: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected (reopened)">#2917</a>. </p> Ticket chris_kohlhoff Sun, 19 Apr 2009 23:00:37 GMT <link>https://svn.boost.org/trac10/ticket/2917#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2917#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52494" title="Merged revisions 52465,52478 from trunk ........ r52465 | ...">[52494]</a>) Merged revisions 52465,52478 from trunk </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52465" title="POSIX allows successful system calls to modify errno, so always clear ...">r52465</a> | chris_kohlhoff | 2009-04-18 23:27:53 +1000 (Sat, 18 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> POSIX allows successful system calls to modify errno, so always clear the error_code if the result indicates success. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2953" title="#2953: Bugs: send_operation::perform does not consume buffer on would_block (closed: fixed)">#2953</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52478" title="Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined. ...">r52478</a> | chris_kohlhoff | 2009-04-19 14:15:17 +1000 (Sun, 19 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined. Fixes <a class="reopened ticket" href="https://svn.boost.org/trac10/ticket/2917" title="#2917: Library Submissions: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected (reopened)">#2917</a>. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Smithe574</dc:creator> <pubDate>Sun, 05 Jun 2016 04:35:25 GMT</pubDate> <title>status, severity, type, component, version, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/2917#comment:4 https://svn.boost.org/trac10/ticket/2917#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Not Applicable</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Library Submissions</span> </li> <li><strong>component</strong> <span class="trac-field-old">asio</span> → <span class="trac-field-new">xpressive</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost.Build-M3</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.39.0</span> → <span class="trac-field-new">Website 1.X</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> I've been absent for a while, but now I remember why I used to love this website. Thanks, I'll try and check back more frequently. How frequently you update your site? deegaffdfgddkdgb </p> Ticket