> -----Original Message-----
> From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor
> Sent: Monday, March 24, 2008 3:41 PM
> To: [email protected]
> Subject: Re: [STDCXX-709] ContainerData ctor and 
> UserClass::from_char()
> 
...
> try to create a small test case reproducing it. I.e., create an
> archive lib that allocates memory using the new expression and
> a program that replaces operators new and delete, links with the
> library and attempts to deallocate the memory allocated by the
> library. See if the right operators are being called.

I created a simple little test case.

        http://people.apache.org/~elemings/test02.tar.gz

It works as it should on both platforms.

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);
          return 0;
        }

This test case exhibits the same problem in STDCXX-709.

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.

Reply via email to