incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: [STDCXX-709] ContainerData ctor and UserClass::from_char()
Date Wed, 26 Mar 2008 02:58:31 GMT
Eric Lemings wrote:
>  
[...]
> I also created a little test case in trunk/tests/containers that
> links to the rwtest static library:
> 
> 	#include <rw_new.h>
> 	#include <rw_value.h>
> 
> 	int main () {
> 	  UserClass* uc = UserClass::from_char("ab", 2);

Did you forget delete[] uc here?

> 	  return 0;
> 	}
> 
> This test case exhibits the same problem in STDCXX-709.

For me this little test runs fine both with and without the delete
statement. I tried 11s and 15D builds.

Martin

> 
> It has something to do with the trunk/include/rw/_new.h header
> but I'm still not sure exactly what the problem is.
> 
> Brad.
> 


Mime
View raw message