
On Fri, Sep 12, 2008 at 6:38 PM, Sohail Somani <sohail@taggedtype.net> wrote:
Emil Dotchevski wrote:
But also, if someone asks you to integrate a statically linked library that used a version of the standard library different from the one you were using, what would you do? :)
But seriously, there are N different standard libraries with multiple versions whereas there is only one Boost with multiple versions. Fixing the problem for Boost solves it on all compilers. There is nothing you could do to solve the problem for the standard library that wouldn't require you to repeat the same steps in the next update of the compiler. Not only that but I don't normally build the C++ standard library as part of my build. Boost, I do.
My point was that besides different Boost versions, there are too many other reasons why a pre-built library won't link with your code. Isn't this type of problem solved by distributing N builds of the library -or- distributing the source code? Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode