I'm still not understanding SVN_DBG, not because I don't know what it
does; but, because I keep on getting undefined errors.
As far as I know, I just need to do the following:
1) python gen-make.py -t vcproj --vsnet-version=2008 --debug
--with-httpd=..\apache --with-openssl=..\openssl --with-zlib=..\zlib
2) nmake all1 all2 check
Is that all I need to do? The last time I tried SVN_DBG, I got
undefined errors. I gave up and used puts(apr_psprintf(...)).
Now, I've come across SVn_DBG() in dso.c (110). It's from
r39886. Compiling with the latest trunk (with VS2008 command
prompt and nmake all1), I get the following error:
..\..\..\subversion\libsvn_subr\dso.c(110): error C4103: \
'SVN_DBG' undefined; assuming extern returning int
But grep'ing for SVN_DBG, it's clearly defined in
include\private\svn_debug.h. But it's with the following
#define SVN_DBG(ARGS) svn_dbg__preamble(__FILE__, __LINE__, NULL)
#define SVN_DBG(ARGS) (svn_dbg__preamble(__FILE__, __LINE__,
Of course, this SVN_DBG is only available when SVN_DEBUG
is defined. Clearly adding --debug in the gen-make.py
should set the SVN_DEBUG in the projects; and they are.
I grep'd SVN_DEBUG and came up with lots of hits in the
The last time on IRC I pestered Bert about this and came up
still without a clue as to why I can't get SVN_DBG to be
recognized. I'm completely stumped by this.
Any help appreciated.
Received on 2009-11-07 03:31:21 CET