Update of /cvsroot/python/python/nondist/sandbox/datetime In directory usw-pr-cvs1:/tmp/cvs-serv25638 Modified Files: datetime.h Log Message: PyObject_HEAD already contains a semicolon, and MSVC can't tolerate putting another semicolon after it. Getting rid of the semicolon clears up oodles of bogus errors. Still doesn't compile on Windows, though: datetime.c(226) : warning C4273: 'PyDateTime_Type' : inconsistent dll linkage. dllexport assumed. datetime.c(227) : error C2099: initializer is not a constant plus lots of warnings, some of which look serious. Index: datetime.h =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/datetime/datetime.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** datetime.h 4 Mar 2002 20:41:24 -0000 1.1 --- datetime.h 5 Mar 2002 03:55:35 -0000 1.2 *************** *** 9,13 **** typedef struct { ! PyObject_HEAD; unsigned char data[_PyDateTime_DATA_SIZE]; } PyDateTime_Object; --- 9,13 ---- typedef struct { ! PyObject_HEAD unsigned char data[_PyDateTime_DATA_SIZE]; } PyDateTime_Object;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4