[sldev] Linker error building a Debug viewer from 1.17.0.12
sources under VC8
Able Whitman
able.whitman at gmail.com
Wed Jun 20 08:56:26 PDT 2007
That's a good point, although if the Debug configuration is garbage, then
I'll take the time to make it buildable. The Debug configuration is useful
primarily because it additionally defines the "_DEBUG" symbol in conjunction
with the debug version of MSVCRT.
This combination is pretty useful, since it maps malloc calls to _malloc_dbg
which keeps track of memory allocation information (e.g., the source line
where the allocation occurred), which applies to the new and delete
operators as well. It also enables the debug heap, which, since I'm
currently trying to track down a memory corruption issue, would make my life
a bit easier. :)
The debug MSVCRT also includes asserts and other runtime validation that the
release version does not and, crucially, using the _DEBUG symbol requires
the debug MSVCRT since _malloc_dbg is not defined in the retail one.
I'll have more time to investigate this issue later, and I'll pass along
what I find out.
On 6/20/07, Alissa Sabre <alissa_sabre at yahoo.co.jp> wrote:
>
> > I'm trying to build a Debug configuration of the 1.17.0.12 sources under
> > VC8.
>
> Hmm.
>
> I've been thinking that ReleaseNoOpt and ReleaseForDownload are the
> only working build configuration and others (Debug, DebugMesaHeadless,
> Release) are just garbages, because the wiki says:
>
> Build either ReleaseNoOpt (for debugging) or ReleaseForDownload (for
> production.)"
>
> Of course, I may be wrong.
>
> Alissa
> --------------------------------------
> Start Yahoo! Auction now! Check out the cool campaign
> http://pr.mail.yahoo.co.jp/auction/
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20070620/174305fd/attachment.htm
More information about the SLDev
mailing list