type compatibility warnings -- building python on windows 64-bit x64

N

nichols.alan

I am attempting to build the SVN release of python on Visual Studio 8.

I get the warning messages such as the following:


...\..\Modules\cPickle.c(527) : warning C4244: '=' : conversion from
'Py_ssize_t' to 'int', possible loss of data
...\..\Modules\binascii.c(285) : warning C4244: '=' : conversion from
'Py_ssize_t' to 'unsigned char', possible loss of data
...\..\PC\_winreg.c(736) : warning C4267: '=' : conversion from
'size_t' to 'DWORD', possible loss of data
c:\python25_svn_64\objects\stringlib/fastsearch.h(57) : warning C4244:
'=' : conversion from 'Py_ssize_t' to 'long', possible loss of data

It's my understanding that the underlying type of the Py_ssize_t is 64-
bit while ints and longs are 32-bit in VS 2005 -- hence the basis of
the warnings.

Can you tell me if this is an issue of concern, or can I ignore the
warnings?

Thank you,

Alan Nichols
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top