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

Re: Python SWIG for Win32

From: Axel Kollmorgen <axel_at_kollmorgen.net>
Date: 2003-02-21 21:59:39 CET

On Friday, February 21, 2003 7:41 PM [GMT+1=CET],
Axel Kollmorgen <axel@kollmorgen.net> wrote:

> On Thursday, February 13, 2003 11:12 PM [GMT+1=CET],
> Dale Hirt <dale@sbcltd.com> wrote:
>> swigging d:\work\svn_work\subversion\bindings\swig/svn_repos.i to
>> build\svn_repos.c svn_repos.c build\svn_repos.c(1677) :
>> error C2632: 'long' followed by 'long' is illegal
>> [...]
> i googled for "'long' followed by 'long' is illegal" and found this
> Microsoft C compiler doesn't support "long long", this has been fixed
> in the latest CVS code. [Replace long long with LONG_LONG], and it
> will work OK.
> note: LONG_LONG is defined in <python>\include\pyconfig.h.
> so you should get this to work by replacing all "long long"s in
> <swig>\Lib\python\python.swg by LONG_LONG. i didn't have time to try
> yet (i build it earlier by just replacing all "long long" in
> python.swg by just "long") and would welcome feedback.

tried and working ;)

People talk peace. But men give their lifes work to war. It wont stop
til there is as much brains and scientific study put to aid peace as
there is to promote war. - Will Rogers
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 21 22:08:11 2003

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