[issue24381] Got warning when compiling ffi.c on Mac

2016-10-20 Thread Ned Deily
Ned Deily added the comment: Thank you for the patch! Now fixed in the bundled versions of libffi for OS X. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: +Python 2.7, Python 3.7 ___ Python tracker

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b089035a453 by Ned Deily in branch '3.5': Issue #24381: Avoid unused function warning when building bundled macOS libffi. https://hg.python.org/cpython/rev/2b089035a453 New changeset c60d41590054 by Ned Deily in branch '3.6': Issue #24381: merge fr

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-20 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @zach.ware so in this case, we could merge the patch in 3.6 & 3.7. -- ___ Python tracker ___ ___ Py

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-20 Thread Zachary Ware
Zachary Ware added the comment: Correction: #27979 is unrelated to Modules/_ctypes/libffi_osx. A hypothetical (at this point) removal of libffi_osx will be a separate issue. I think it's probably worthwhile to fix this issue. -- nosy: +zach.ware _

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-20 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @victor There are two issues. 1. The bundled version of CFFI is just outdated 2. There is an issue for the removal of libffi_osx (http://bugs.python.org/issue27979) so, we can fix the bundled libcffi or close this issue. --

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: of course, I will do it. Thank for your review -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-18 Thread STINNER Victor
STINNER Victor added the comment: Modules/_ctypes/libffi_osx/ffi.c comes from libffi, can you please propose a bugfix upstream? * https://sourceware.org/libffi/ * https://github.com/libffi/libffi I'm not sure where is the upstream. -- nosy: +haypo

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have reviewed the patch, the first "#if defined" was not complete. -- nosy: +matrixise ___ Python tracker ___ ___

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-13 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue24381] Got warning when compiling ffi.c on Mac

2015-06-04 Thread Vajrasky Kok
New submission from Vajrasky Kok: On my OS X Yosemite 10.10.3, I got this warning when compiling Modules/_ctypes/libffi_osx/ffi.c. gcc -Wno-unused-result -Wsign-compare -g -O0 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -I_ctypes/darwin -I/Users/sky/Code/python/cpython/Modul