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

Re: svn commit: rev 2196 - trunk/subversion/svnadmin

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-13 23:52:21 CEST

On Thu, Jun 13, 2002 at 04:34:47PM -0500, brane@tigris.org wrote:
> Author: brane
> Date: 2002-06-13 21:34 GMT
> New Revision: 2196
>
> Modified:
> trunk/subversion/svnadmin/main.c
> Log:
> Fix compiler error on Windows.
>
> * svnadmin/main.c (create_stdio_stream): APR_DECLARE the open-file
> callback. This macro is not a no-op on Windows, and without this change,
> the compiler compains about different function attributes (probably has
> to do with the calling convention).

Yep -- calling conventions. The exported APR functions are __stdcall (which,
I believe, means Pascal-style conventions). And I'm guessing that our .dsp
files set cdecl as the default convention.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 13 23:51:00 2002

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