Re: Re: c4_Bytes destructor causes memory deallocation failure
Pat Thoyts <[email protected]>
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
Arto Stimms <[email protected]> writes: >> I am not seeing this with the CVS build on Linux or >> Mac OS X. Don't >> have a Windows compile setup ready this minute, >> could you check with >> latest CVS as well? > >I just tried it with the latest version from CVS as >well, and still has the same error :-( Maybe someone >else on windows could try it out to verify that it is >not just a problem with my setup? > I believe your problem is that you need to link with a debug build of metakit in this instance. Using the file you posted earlier I build the test executable using: C:\src>cl -nologo -W3 -Zi -GX -Od -D_DEBUG -MDd -Imetakit/include -o mk-bug.exe mk-bug.cpp metakit\builds\mk4vc60.lib Running the resulting mk-bug.exe raises an assertion dialog as you have described. However if we use metakit\builds\mk4vc60_d.lib as the link library then the test completes successfully. You'll need to have mk4vc60_d.dll present in the PATH or current directory. 1 -- Pat Thoyts PGP Fingerprint: 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit