Package: libasio-dev
Version: 1.3.1-1
Severity: normal

Any file that includes <asio/read_until.hpp> or the convenience header
<asio.hpp> will fail to compile if libboost-regex-dev is not installed
on the system, because asio/read_until.hpp unconditionally includes
boost/regex.hpp.

This is not nearly as serious as the other bug I just filed about a
missing dependency on libboost-date-time-dev; a nontrivial program
that uses libasio may not need the read_until functionality.  However,
it does make the convenience header unusable and therefore prevent the
examples from compiling as-is.

I recommend adding a Recommends: for libboost-regex-dev.  I wouldn't
especially *object* to a Depends: but I have gone to some trouble to
avoid using that library and would like to keep it off my system.

If you feel like talking to upstream about this, it would be nice if
there were a macro that could be #defined by the user that would cause 
asio/read_until.hpp to not include boost/regex.hpp and omit the
read_until variants that use regexes.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libasio-dev depends on:
ii  libboost-dev                  1.34.1-15  Boost C++ Libraries development fi

Versions of packages libasio-dev recommends:
ii  libssl-dev                    0.9.8g-15  SSL development libraries, header 

libasio-dev suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to