[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

DSP generator linking against release version of Berkeley DLL's in Debug builds

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2003-04-30 02:27:46 CEST

The debug configurations for the svn*.exe projects generated by
gen-make.py -t dsp link against libdb41.lib instead of libdb41d.lib. This
causes, at least on VC++ 7.0, spurious runtime checks to be triggered since
the memory coming out of BDB isn't allocated on the debug heap. Looking at
gen_win.py it seems like the project configurations are hardcoded to link
against the release versions of the BDB import library.

Incidentally, this very same topic was also the subject of my very first
post[1] to this list. Here's an excerpt from that thread...:

>From: Greg Stein <gstein@lyra.org>
>On Fri, Jun 21, 2002 at 09:54:47PM +0200, Branko Cibej wrote:
>> So, the problem is that we link the release BDB into the debug
>> mod_dav_svn.so? Indeed, you're right! Thanks for the report, I'll fix
>> that ASAP.
>Hey... I bet a .dsp generator wouldn't flub that up...
>*prod prod*
>:-)
>Cheers,
>-g

It seems it did ;-)

--
Arild
[1] http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=170102
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 02:28:26 2003

This is an archived mail posted to the Subversion Dev mailing list.