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

Re: Crash in python bindings on windows (in apache)

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2005-10-19 22:34:37 CEST

At 10:16 PM 19/10/2005 +0200, Brane wrote:
>>Supposing "(void)pool" really was the source of the problem in Windows (I
>>don't see how it could be, but...), perhaps something like this would make
>>sense somewhere in a core header:
>># if defined(WIN32) || defined(WIN64)
>Note that this had nothing to do with the platform (e.g., windows in
>this case), but the compiler that's being used ...

True :-)

>># define UNUSED_PARAMETER(x) ((x) = (x))
>... and MSVC does the right thing with (void)foo;

Right. I'll use a simpler definition, simply using the (void) hack.


Should I make it toggle-able like this? I don't know a lot about how
./configure and all that work, so I don't know how to make it an option
like --enable-suppress-unused-parameter-warning or what have you. I'm not
even certain it should be that kind of option. Any advice here? :-)

>+1. Please post a real patch, I'd like to see this in the code, too.
>Of course, the name of the macro has to be namespace protected.


One patch coming right up :-)

Jonathan Gilbert

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 19 22:35:44 2005

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.