Sorry about that. Just cast vbuf.buf to (char *). On 11/3/07, Christian Heimes <[EMAIL PROTECTED]> wrote: > guido.van.rossum wrote: > > Author: guido.van.rossum > > Date: Fri Nov 2 20:33:24 2007 > > New Revision: 58787 > > > > Modified: > > python/branches/py3k-pep3137/Lib/struct.py > > python/branches/py3k-pep3137/Lib/test/test_struct.py > > python/branches/py3k-pep3137/Modules/_struct.c > > Log: > > Make test_struct pass. > > Accept anything that's bytes as the data input, but not str instances. > > I guess that this check in caused an incompatibility with the Windows > compiler. I can't compile the struct module any more. > > c:\dev\python\py3k-pep3137\PCbuild>cl /O1 /I..\Pc /I..\Include > ,.\Modules\_struct.c > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for > 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. > > _struct.c > ..\Modules\_struct.c(1590) : error C2036: 'void *' : unknown size > > Christian > _______________________________________________ > Python-3000-checkins mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-3000-checkins >
-- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
