[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: Marc Haesen <Marc.Haesen_at_telindus.be>
Date: 2005-10-19 11:21:21 CEST

This was the compiler output:

..\..\..\subversion\bindings\swig\proxy\swig_python_external_runtime.swg
(1313) : warning C4003: not enough actual parameters for macro
'SWIG_GetModule'
..\..\..\subversion\bindings\swig\proxy\swig_python_external_runtime.swg
(1319) : warning C4003: not enough actual parameters for macro
'SWIG_GetModule'
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(335) : error C2275: 'apr_pool_t' : illegal use of this type as an
expression
        d:\subversion\httpd-2.0\srclib\apr\include\apr_pools.h(54) : see
declaration of 'apr_pool_t'
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(335) : error C2065: 'new_pool' : undeclared identifier
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(336) : error C2275: 'PyObject' : illegal use of this type as an
expression
        c:\Python\include\object.h(104) : see declaration of 'PyObject'
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(336) : error C2065: 'new_py_pool' : undeclared identifier
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(336) : warning C4022: 'svn_swig_NewPointerObj' : pointer mismatch
for actual parameter 1
\subversion\trunk\subversion\bindings\swig\python\libsvn_swig_py\swiguti
l_py.c(338) : warning C4047: 'return' : 'PyObject *' differs in levels
of indirection from 'int'

If I remove the (void)pool. Line, I only get the first 2 warnings.

Regards,
Marc

-----Original Message-----
From: Kalle Olavi Niemitalo [mailto:kon@iki.fi]
Sent: Wednesday, October 19, 2005 10:39
To: Marc Haesen
Cc: dev@subversion.tigris.org
Subject: Re: Crash in python bindings on windows (in apache)

Marc Haesen <Marc.Haesen@telindus.be> writes:

> I have just updated my working copy to revision 16815 and after
applying
> the attached patch (to solve a compilation problem in windows), it
seems
> not to crash anymore in apache with mod_python.
>
> In the patch.txt I have just removed the line (void) pool;
> It can also replaced by pool=pool; to avoid a warning.

What compilation problem did the (void) pool; cause?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 19 11:23:17 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.