Edgewall Software

Ticket #297 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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

follow-up: ↓ 5   Changed 5 years ago by anonymous

  • status changed from new to assigned
  • owner changed from cmlenz to anonymous

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

  Changed 5 years ago by jruigrok

  • status changed from assigned to new
  • owner changed from anonymous to jruigrok

And now logged in.

  Changed 5 years ago by jruigrok

  • status changed from new to assigned

  Changed 4 years ago by cmlenz

  • milestone changed from 0.6 to 0.6.1

in reply to: ↑ 1   Changed 4 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...

  Changed 3 years ago by hodgestar

  • status changed from assigned to closed
  • resolution set to fixed

The

PyAPI_DATA(PyTypeObject) MarkupType;

definitions are gone so I'm closing this ticket.

Add/Change #297 (Python 2.6 / MSVC 9.0 speedups compilation warning)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.