Ticket #297 (closed defect: fixed)
Python 2.6 / MSVC 9.0 speedups compilation warning
| Reported by: | jruigrok | Owned by: | jruigrok |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.6.1 |
| Component: | General | Version: | 0.5.1 |
| Keywords: | Cc: |
Description
Running a build of the current 0.5.1 sources:
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\Python26\include -Ic:\Python26\PC /Tcgenshi/_speedups.c /Fobuild\temp.win32-2.6\Release\genshi/_speedups.obj
_speedups.c
genshi/_speedups.c(558) : warning C4273: 'MarkupType' : inconsistent dll linkage
genshi/_speedups.c(46) : see previous definition of 'MarkupType'
This is due to these definitions:
PyAPI_DATA(PyTypeObject) MarkupType;
PyTypeObject MarkupType = {
[...]
};
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
