New submission from Xavier de Gaye <[email protected]>:
When built with: Android clang version 3.8.275480 (based on LLVM 3.8.275480)
The following warning is emitted:
ccache
/pathto/android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-target x86_64-none-linux-androideabi -gcc-toolchain
/pathto/android/android-ndk/toolchains/x86_64-4.9/prebuilt/linux-x86_64 -c
-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes --sysroot=/pathto/android/android-ndk/sysroot
-D__ANDROID_API__=21 -isystem
/pathto/android/android-ndk/sysroot/usr/include/x86_64-linux-android
-Wno-unused-value -Wno-empty-body -Qunused-arguments
-Wno-nullability-completeness -Wno-parentheses-equality -std=c99 -Wextra
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers
-Werror=implicit-function-declaration -IObjects -IInclude -IPython -I.
-I/pathto/src/python/master/Include
-I/pathto/tmp/android-makesetup/build/python3.7-extlibs-android-21-x86_64//data/local/tmp/python/include
--sysroot=/pathto/android/android-ndk/sysroot -D__ANDROID_API__=21 -isystem
/pathto/android/android-ndk/sysroot/usr/include/x
86_64-linux-android -DPy_BUILD_CORE -o Python/pyhash.o
/pathto/src/python/master/Python/pyhash.c
/pathto/src/python/master/Python/pyhash.c:275:11: warning: comparison of
integers of different signs: 'Py_uhash_t' (aka 'unsigned long') and 'int'
[-Wsign-compare]
if (x == -1) {
~ ^ ~~
1 warning generated.
----------
components: Interpreter Core
messages: 304816
nosy: christian.heimes, xdegaye
priority: normal
severity: normal
status: open
title: Python/pyhash.c warning: comparison of integers of different signs
type: compile error
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31849>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com