I'm not sure if I was compiling this code, I'll double check. The 'z' should be
valid, but I doubt it's important and you can probably comment out the #define
in pyconfig.h.
Or you could temporarily build without python to see if 4.4 works for you in
general.
BTW I'm using Python 2.6.1 here.
Jon
Massimiliano Maini wrote:
>
> Latest code (20090625), with gcc44:
>
> In file included from dbprovider.c:25:
> config.h:97:1: warning: this is the location of the previous definition
> dbprovider.c: In function 'ConvertPythonToRowset':
> dbprovider.c:429: warning: unknown conversion type character 'z' in format
> dbprovider.c:429: warning: too many arguments for format
> dbprovider.c:442: warning: unknown conversion type character 'z' in format
> dbprovider.c:442: warning: unknown conversion type character 'z' in format
> dbprovider.c:442: warning: too many arguments for format
> dbprovider.c:466: warning: unknown conversion type character 'z' in format
> dbprovider.c:466: warning: too many arguments for format
>
> Plus this:
>
> In file included from gnubg.c:89:
> d:\documents\max\gnubg-build\tools\mingwgcc44\bin\../lib/gcc/mingw32/4.4.0/../../../../include/ws2tcpip.h:272:
> error: two or more data types in declaration specifiers
>
> Caused by Pyconfig.h:
>
> /* Define to `int' if doesn't define. */
> #if _MSC_VER + 0>= 1300
> /* VC.NET typedefs socklen_t in ws2tcpip.h. */
> #else
> #define socklen_t int
> #endif
>
> Found that: http://bugs.python.org/issue3257
>
> Should we move to python 2.6 or 3 ?
>
> MaX.
_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg