471,350 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

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

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

Sep 24 '07 #1
0 906

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Stefan Tietke | last post: by
2 posts views Thread by DaveP | last post: by
1 post views Thread by freesteel | last post: by
12 posts views Thread by arnuld | last post: by
15 posts views Thread by kyosohma | last post: by
1 post views Thread by revuesbio | last post: by
1 post views Thread by Christopher | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.