Hi,
I am getting the following error while compiling with sun C++ 5.5 and using SGI STL. Has anyone run into this. The SGI headers are one at http://www.sgi.com/tech/stl/download.html
Thanks,
#include <stl/string>
class ASPString : public stl::string
{
public:
virtual ~ASPString();
.........
};
ASPString::~ASPString()
{
}
stl/stl_alloc.h", line 384: Error: Cannot use stl::__default_alloc_template<stl::threads, stl::inst>::_Obj*volatile* to initialize stl::__default_alloc_template<1, 0>::_Obj*volatile*.
stl/stl_alloc.h", line 199: Where: While instantiating "static stl::__default_alloc_template<1, 0>::deallocate(void*, unsigned)".
stl/stl_alloc.h", line 199: Where: Instantiated from non-template code.