# runtime/cgo /Users/qipeng/program/go/src/runtime/cgo/gcc_android_arm.c:16:0: error: "PTHREAD_KEYS_MAX" redefined [-Werror] #define PTHREAD_KEYS_MAX 128 ^ In file included from /Users/qipeng/program/android/android-ndk-r10d/sysroot/usr/include/limits.h:86:0, from /Users/qipeng/program/android/android-ndk-r10d/lib/gcc/arm-linux-androideabi/4.9/include-fixed/limits.h:168, from /Users/qipeng/program/android/android-ndk-r10d/lib/gcc/arm-linux-androideabi/4.9/include-fixed/syslimits.h:7, from /Users/qipeng/program/android/android-ndk-r10d/lib/gcc/arm-linux-androideabi/4.9/include-fixed/limits.h:34, from /Users/qipeng/program/android/android-ndk-r10d/sysroot/usr/include/signal.h:34, from /Users/qipeng/program/android/android-ndk-r10d/sysroot/usr/include/pthread.h:33, from /Users/qipeng/program/go/src/runtime/cgo/gcc_android_arm.c:5: /Users/qipeng/program/android/android-ndk-r10d/sysroot/usr/include/sys/limits.h:166:0: note: this is the location of the previous definition #define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX ^ cc1: all warnings being treated as errors |
|