Edgewall Software

Opened 16 years ago

Closed 13 years ago

#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 = {
  [...]
};

Change History (6)

comment:1 follow-up: Changed 15 years ago by anonymous

  • Owner changed from cmlenz to anonymous
  • Status changed from new to assigned

I'll check that out, I have an idea what it may be.

comment:2 Changed 15 years ago by jruigrok

  • Owner changed from anonymous to jruigrok
  • Status changed from assigned to new

And now logged in.

comment:3 Changed 15 years ago by jruigrok

  • Status changed from new to assigned

comment:4 Changed 15 years ago by cmlenz

  • Milestone changed from 0.6 to 0.6.1

comment:5 in reply to: ↑ 1 Changed 14 years ago by Carsten Klein <carsten.klein@…>

Replying to anonymous:

I'll check that out, I have an idea what it may be.

Please let us know. So far you have provided no further input on that matter...

comment:6 Changed 13 years ago by hodgestar

  • Resolution set to fixed
  • Status changed from assigned to closed

The

PyAPI_DATA(PyTypeObject) MarkupType;

definitions are gone so I'm closing this ticket.

Note: See TracTickets for help on using tickets.