
John Maddock wrote:
If you have a chance to look at the TR1 library failures that would be a big help. Almost all the failures all appear to be caused by the appropriate header files not getting included. The situation here is somewhat different to normal, because we're trying to replace existing std lib header files, so that
#include <memory>
includes the Boost.TR1 version of <memory> which forwards on the real version as well as including it's own extra parts. However, for some reason the Boost versions of these headers appear not to be being picked up.
The root of this problem is a surprise for me. Actually to include <memory> Sun C++ searches file named memory.SUNWCCh. This file is a symbolic link to "memory". Please don't ask me to explain the rationale of this "feature" :-) So you can create symbolic links in the tr1 folder like memory.SUNWCCh -> memory. It should help. Meanwhile, I will try to persuade my co-workers to implement command line option to turn off this feature. -- Simon