In file included from
/home/imagetech/Android/android-ndk-r3/build/platforms/开发者_运维技巧android-5/arch-arm/usr/include/stdio.h:55,
from test_cl.cpp:21:
/home/imagetech/Android/android-ndk-r3/build/platforms/android-5/arch-arm/usr/include/sys/types.h:88:
error: conflicting declaration 'typedef unsigned int size_t'
/home/imagetech/Android/android-ndk-r3/build/platforms/android-5/arch-arm/usr/include/machine/_types.h:44:
error: 'size_t' has a previous declaration as 'typedef long unsigned int size_t'
why dont you try different name "size_t" since i think the same declaration is present in the _types.h file. so it is giving the conflict.
精彩评论