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.


Reply via email to