在试图与Bostonc++共同编制方案时 图书馆使用Anthony NDK,我有以下类型的错误:
In file included from /home/afeder/android/0ad/jni/lib/boost/boost/assert.hpp:50,
from /home/afeder/android/0ad/jni/lib/boost/boost/random/linear_congruential.hpp:21,
from /home/afeder/android/0ad/jni/src/source/scriptinterface/ScriptInterface.h:34,
from /home/afeder/android/0ad/jni/src/source/ps/World.h:28,
from /home/afeder/android/0ad/jni/src/source/main.cpp:58:
/home/afeder/android/android-ndk-r7/platforms/android-5/arch-arm/usr/include/assert.h: At global scope:
/home/afeder/android/android-ndk-r7/platforms/android-5/arch-arm/usr/include/assert.h:63: warning: redundant redeclaration of void __assert(const char*, int, const char*) in same scope
/home/afeder/android/android-ndk-r7/platforms/android-5/arch-arm/usr/include/assert.h:63: warning: previous declaration of void __assert(const char*, int, const char*)
/home/afeder/android/android-ndk-r7/platforms/android-5/arch-arm/usr/include/assert.h:64: warning: redundant redeclaration of void __assert2(const char*, int, const char*, const char*) in same scope
/home/afeder/android/android-ndk-r7/platforms/android-5/arch-arm/usr/include/assert.h:64: warning: previous declaration of void __assert2(const char*, int, const char*, const char*)
显然,博恩公司提供的一套“侵权行为”职能与国库本身提供的职能之间有某种冲突,但我如何解决?
感谢。