xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadav Aharoni (GENERIZE)" <nad...@generize.com>
Subject RE: deleting a transcode return results in assertion on windows
Date Wed, 01 Nov 2000 09:00:17 GMT
I also think so. Note that there are 6 different runtimes to choose frm and
that the runtime for your debug configuration should be different then the
one for the release configuration.
(sorry if writing something too obvious...)

-----Original Message-----
From: Andy Heninger [mailto:andyh@jtcsv.com]
Sent: Tuesday, October 31, 2000 8:33 PM
To: xerces-c-dev@xml.apache.org
Subject: Re: deleting a transcode return results in assertion on windows

The problem is almost certainly because of mixed runtimes.

Microsoft's compiler and runtime don't care about the distinction
between delete and delete [], and will run fine with either, so
that's not the problem.   (At least this is true for simple arrays;
it may matter for arrays of objects with destructors, but I'm not

Andy Heninger
IBM XML Technology Group, Cupertino, CA

----- Original Message -----
From: "Dennis Gearon" <gearond@OIT.EDU>
To: <xerces-c-dev@xml.apache.org>
Sent: Tuesday, October 31, 2000 8:27 AM
Subject: Re: deleting a transcode return results in assertion on windows

> Now that I downloaded the source and compiled it to get the ability to
> use the debugger, (It wouldn't use the debugger right , complained about
> no symbol library even using the Debug dll and library) I TOO have the
> code stopping on EVERY delete. I know all my locations use delete [] p.
> It was working fine until I compiled the source in the library. The
> debugger stops with a "User called breakpoint" or "User defined
> breakpoint" at the same exact point and it goes into assembler since I
> don't have the symbol library for the system dll's.
> Did somebody leave some assertions or something in the code that don't
> belong there? I haven't looked at the code yet. I'm tempted to go back
> to the "cout << error messages route again, by just running the program
> and not using the debugger.
> >Date: Sun, 29 Oct 2000 09:15:19 -0600
> >To: xerces-c-dev@xml.apache.org
> >From: Steve Heller <steve@steveheller.com>
> >Subject: Re: deleting a transcode return results in assertion on
> >Message-ID: <thfovs8kiliel8oi9ik0qcumoh3454unbf@4ax.com>
> >
> >On Sun, 29 Oct 2000 00:23:56 +0100, David_N_Bertoni@lotus.com wrote:
> >
> >>
> >>First of all, you should use
> >>
> >>delete [] p;
> >>
> >>This is required by the C++ standard, although I believe you can get =
> >away
> >>with it with Visual C++.  You should double-check (or triple-check)
> >>you are using the same runtime libraries.
> >
> >  I'm definitely using the same run-time libraries. I'll make sure
> >that I use delete [].
> >
> >>If you want to use XMLString::transcode(), try the following:
> >
> >  Thanks for the tip. I'll let you know how it works.
> >

To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message