Boost logo

Boost :

Subject: [boost] [iostreams][1.44] file_descriptor constructor deprecated
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-09-09 08:11:12


Hey,

Why has the iostreams::file_descriptor constructor taking a file descriptor
(OS handle) being deprecated (BOOST_IOSTREAMS_USE_DEPRECATED)? This seems to
be somewhat counter-intuitive to me. Even more as our code depends on this
functionality and I see no way to rewrite it in order to accommodate for
this change (we're wrapping a pipe handle here).

The worst is that defining BOOST_IOSTREAMS_USE_DEPRECATED while compiling
our application makes the compilation succeed, but linking fails as this
function has not been compiled by default into the iostreams library.
Regenerating the boost libraries is not an option for us, as we need to rely
on pre-installed libraries most of the time (HPC systems have their own
weird rules...).

Any ideas?

Regards Hartmut
---------------
http://boost-spirit.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk