classification
Title: A lot of warning while executing make install
Type: compile error Stage: resolved
Components: Versions: Python 3.6
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Mirko Tebaldi (Realtebo), eric.smith, zach.ware
Priority: normal Keywords:

Created on 2017-01-27 13:47 by Mirko Tebaldi (Realtebo), last changed 2017-01-27 15:07 by zach.ware. This issue is now closed.

Messages (3)
msg286355 - (view) Author: Mirko Tebaldi (Realtebo) (Mirko Tebaldi (Realtebo)) Date: 2017-01-27 13:47
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c: In function 'classify_argument':
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:195:18: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
    FFI_ASSERT (0);
                  ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:224:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < words; i++)
                ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:245:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = 0; i < num; i++)
                    ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:264:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = 1; i < words; i++)
                    ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:270:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < words; i++)
                ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c: In function 'examine_argument':
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:323:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < n; ++i)
                 ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c: In function 'ffi_call':
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:484:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (j = 0; j < n; j++, a += 8, size -= 8)
                  ^
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c: In function 'ffi_closure_unix64_inner':
/usr/src/Python-3.6.0/Modules/_ctypes/libffi/src/x86/ffi64.c:659:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (j = 0; j < n; j++, a += 8)
                  ^
msg286356 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2017-01-27 14:04
Can you give us your platform, platform version, compiler, and compiler version? Also, the entire output of "make install" (or whatever make command you're running).

Thanks.
msg286365 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-01-27 15:07
Building _ctypes with the bundled copy of libffi is deprecated since Python 3.6, and is not possible in 3.7. If you need the ctypes module, please install libffi separately and make sure the Python build process can find it. If you build libffi yourself, please report any warnings at github.com/libffi/libffi.
History
Date User Action Args
2017-01-27 15:07:21zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg286365

resolution: third party
stage: resolved
2017-01-27 14:04:37eric.smithsetnosy: + eric.smith
messages: + msg286356
2017-01-27 13:47:35Mirko Tebaldi (Realtebo)create