www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - Compiler or Library problem?

reply Steve <Steve_member pathlink.com> writes:
Hi,

Just want to make sure that I understand the problem correctly.

The following code causes the error when compile with STL port 4.5.3 but works
fine with SGI STL 3.3.

The error is

Internal error : newman 963

#include <memory>

int main()
{
auto_ptr<int> p(new int);

return 0;
}

Is it the library problem or the compiler problem?

Thanks,
Steve
Sep 19 2002
next sibling parent "Walter" <walter digitalmars.com> writes:
It's a compiler problem. -Walter

"Steve" <Steve_member pathlink.com> wrote in message
news:amef4i$nf3$1 digitaldaemon.com...
 Hi,

 Just want to make sure that I understand the problem correctly.

 The following code causes the error when compile with STL port 4.5.3 but
works
 fine with SGI STL 3.3.

 The error is

 Internal error : newman 963

 #include <memory>

 int main()
 {
 auto_ptr<int> p(new int);

 return 0;
 }

 Is it the library problem or the compiler problem?

 Thanks,
 Steve
Sep 20 2002
prev sibling parent reply "Walter" <walter digitalmars.com> writes:
I have this fixed now in the new beta.

www.digitalmars.com/download/freecompiler.html
Sep 20 2002
parent Steve <Steve_member pathlink.com> writes:
Wow!

What a incredible work!

Thank you,
Steve.

In article <amfjo6$2263$1 digitaldaemon.com>, Walter says...
I have this fixed now in the new beta.

www.digitalmars.com/download/freecompiler.html
Sep 20 2002