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

Re: Win32 and Swig 1.3.20

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-25 03:51:11 CET

On Sat, Jan 24, 2004 at 07:41:41PM -0700, D.J. Heap wrote:
> After setting that define and adding swig/lib to the include paths to
> pick up python/precommon.swg, I get slightly different errors (but
> seemingly fundamentally the same link error -- is there a lib that needs
> to be linked in?):
>
>
> ------ Build started: Project: swig_python_core, Configuration: Release
> Win32 ------
>
> Performing Custom Build Step
> SWIG:1: Warning(120): -c command line option is deprecated. Use
> -noruntime instead.
> ..\..\..\subversion/include\svn_props.h:282: Warning(305): Bad constant
> value (ignored).
> Compiling...
> core.c
> ..\..\..\subversion\bindings\swig\swigutil_py.h(39) : warning C4005:
> 'SWIG_NewPointerObj' : macro redefinition
> \Projects\Sub1\subversion\bindings\swig\python\core.c(324) :
> see previous definition of 'SWIG_NewPointerObj'

I wonder if the double definition here isn't causing your C compiler to
choke. Try commenting out line 39 of swigutil_py.h

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 25 03:51:50 2004

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.