开发者

compile error on android

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜