Re: svn commit: r40417 - in trunk: . subversion/include subversion/include/private subversion/libsvn_client subversion/libsvn_subr subversion/libsvn_wc
From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Sun, 8 Nov 2009 03:26:38 +0100
2009-11-07 20:27:54 Bert Huijben napisaĆ(a):
Public headers shouldn't include private headers.
> SVN_DEBUG is an internal switch we use for debugging subversion itself. It should not be set by user code. And our own compilation should never use an installed svn_types.h, or we can never change this file again.
What exactly errors do you get? Does '#include "private/svn_debug.h"' avoid them?
> The follow-ups also break exporting the debug helpers on windows...
Can the debug helpers be used if svn_debug.h is directly included?
> it makes it impossible to use SVN_DBG() in a shared build?
This commit should identically affect shared and static build.
> It also breaks a static debug compilation in dso.c (in libsvn_subr)
What error exactly?
> #ifdef SVN_DEBUG
Yes, but not on Windows.
> And did you try using SVN_DBG() in a file like update_editor.c?
It works without problems for me (in debug mode).
-- Arfrever Frehtes Taifersar Arahesis ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2415497
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.