[Boost-bugs] [Boost C++ Libraries] #3353: warning C4244: Py_ssize_t to unsigned int

Subject: [Boost-bugs] [Boost C++ Libraries] #3353: warning C4244: Py_ssize_t to unsigned int
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-18 20:01:58


#3353: warning C4244: Py_ssize_t to unsigned int
-------------------------------+--------------------------------------------
 Reporter: davidm@… | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: Python
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------
 I am seeing a compiler warning regarding an unsafe type conversion:


 {{{
 1>c:\program files\boost\boost_1_39\boost\python\detail\caller.hpp(55) :
 warning C4244: 'return' : conversion from 'Py_ssize_t' to 'unsigned int',
 possible loss of data
 }}}


 Visual Studio 2005

 Note that this may be a known issue or regression, as it was discussed 2
 years ago here:
 http://lists.boost.org/Archives/boost/2007/04/120377.php

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3353>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC