开发者

compile error on android

开发者 https://www.devze.com 2023-04-08 10:23 出处:网络
In file included from /home/imagetech/Android/android-ndk-r3/build/platforms/开发者_运维技巧android-5/arch-arm/usr/include/stdio.h:55,

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

精彩评论

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

关注公众号