Ok, i was able to get things to work by adding the conditional compilation
code to my class (most deatils not included. You can see where I've been
declaring the shared_ptr. I don't reference the x variable at all in my
code but the linker is satisfied.
template
class MyClass
{
#if __SUNPR
A huge thanks Chis,
Is the bug report available on a public Sun website?
* I did try the -instances=global which gave me multiple define errors.
* I can't use option 3 because I'm stuck on 5.4 for now.
I haven't been able to get the first option to resolve the link problem,
although it compiles
Brian Oberholtzer wrote:
I'm trying to use shared_ptr in Forte 5.4 and am getting a link-time error
like the following indicating an undefined reference...
The error includes the following hint:
Hint: static member
boost::__RTTI__1nFboostPchecked_delete4CpnDstMbasic_string... must be
defined in the