Re: List of FTBFS in Ubuntu
On Fri, Dec 3, 2010 at 3:49 PM, Olaf van der Spek <email@example.com> wrote:
> On Fri, Dec 3, 2010 at 6:41 PM, Roger Leigh <firstname.lastname@example.org> wrote:
>> Why? If you link indirectly today, and later on boost_filesystem
>> drops its boost_system dependency, your code will break because
>> those inlined functions are in *your* code, not the filesystem
>> library. You'll get a link failure. By linking explictly, you're
>> protected against future failure.
> If the boost_system code is removed from the boost_filesystem headers
> and the dependency is dropped, why would you get a link failure?
What Roger is referring to is the situation where boost::filesystem's
DSO no longer depends boost_system, but the header files still use
boost::system in inlined methods. That, however, is very unlikely (and
probably would be treated as a Boost bug), as it would cause a lot of
FTBFS issues, even with --add-needed.