|
Boost : |
Subject: Re: [boost] [TR1] Sun problems (again)
From: Ling Li (liling_at_[hidden])
Date: 2008-11-13 10:51:20
Your workaround 1 is exactly what I was looking for. Thanks a lot!
Workaround 2 doesn't help here --- it has already been used in Boost::TR1,
but as I mentioned in my original email, Sun CC avoids reload the standard
header <memory> (which is replaced by Boost::TR1's own memory.SUNWCCh), the
TR1 extension can't be found in the sun-test.cpp.
On Thu, Nov 13, 2008 at 6:16 AM, Simon Atanasyan <atanasyan_at_[hidden]>wrote:
> There are two workarounds. Both of them are quite ugly but it's better
> than nothing:
>
> 1. You can use undocumented command line option '-Qoption ccfe -nosunwcch'.
> 2. You can create symlink <inc_name>.SUNWCCh points to <inc_name>. By
> default Sun C++ replace #include <memory> by #include <memory.SUNWCCh>
> and lookup memory.SUNWCCh using regular include file lookup rules.
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk