Silverback Networks added the comment:

Same errors in 3.3. Some names are decorated, some aren't, seemingly at random.

For instance, python32.lib contains:

    35B20 _PyObject_Dump
    35B20 __imp__PyObject_Dump

and just below that,

    2924A PyObject_Free
    2924A __imp_PyObject_Free

But the Visual Studio 2010 compiler always looks for the underscored names for 
x64, resulting in, for instance:

  error LNK2019: unresolved external symbol __imp__PyObject_Free referenced in 
function _WRdealloc

I understand that the x64 isn't supposed to use underscore prefixes as all, but 
it is and Python partially is. I have no idea why.

The preprocessed output of including python.h, btw, is:

__declspec(dllimport) void PyObject_Free(void *);

----------
nosy: +silverbacknet

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to