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

Error building python bindings with MS Visual C++ 6.0 for SVN 1.4.0

From: Ante Blaskovic <ante.blaskovic_at_pakel.hr>
Date: 2006-10-10 14:59:42 CEST

First of all, sorry to contact you personally  but I allready sent two mails to mailing list but I don't see them there.

I'm having problems to build pyhon bindings, I got
     error C2632: 'int' followed by 'int' is illegal

  Microsoft Visual C++ 6.0
  Microsoft Core SDK (FEB -2003)
  Swigwin 1.3.25
  Apache 2.2.3
  Subversion 1.4.0

I build Apache and SVN from source, but I can not build paython bindings. I read somewhere on your mailing list that VC 6.0 is not compatible with SWIG 1.3.25., but is compatible with SWIG 1.3.21
SVN says about minimum requirement: swig 1.3.25

This is error message I receive:

C:\SVN\src-trunk>msdev subversion_msvc.dsw /USEENV /MAKE "__SWIG_PYTHON__ - Win32 Release"
--------------------Configuration: zlib - Win32 Release--------------------
nmake /f win32\Makefile.msc ASFLAGS="-nologo -Zi -coff" LOC="-DASMV -DASMINF" OBJA="gvmat32c.obj gvmat32.obj inffas32.obj" CFLAGS="/nologo /W3 /FD /GX /DWIN32 /D_WINDOWS /MD /O2 /Zi $(LOC)" STATICLIB=zlibstat.lib  zlibstat.lib
'zlibstat.lib' is up-to-date
--------------------Configuration: neon - Win32 Release--------------------
--------------------Configuration: libsvn_swig_py - Win32 Release--------------------
C:\Program Files\Microsoft SDK\Include\ws2tcpip.h(593) : error C2632: 'int' followed by 'int' is illegal
C:\Program Files\Microsoft SDK\Include\ws2tcpip.h(593) : warning C4091: 'typedef ' : ignored on left of 'int ' when no variable is declared
Error executing cl.exe.

__SWIG_PYTHON__ - 1 error(s), 1 warning(s)

Best regards,
Ante Blaskovic

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Tue Oct 10 18:08:24 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.