[Boost-bugs] [Boost C++ Libraries] #2916: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected

Subject: [Boost-bugs] [Boost C++ Libraries] #2916: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-05 21:48:52


#2916: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: asio
  Version: Boost 1.38.0 | Severity: Showstopper
 Keywords: |
--------------------------+-------------------------------------------------
 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).

 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).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2916>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC