我是新来的,我正在尝试从windows到android armeabi-v7a的端口c ++游戏服务器代码,但我从android ndk遇到此警报,该进程应继续运行,因为它是服务器:
C:/Users/Home/Documents/samps/jni/raknet/SingleProducerConsumer.h:138:3: note: when a volatile object spans multiple type-sized locations, the compiler must choose bet
ween using a single mis-aligned access to preserve the volatility, or using multiple aligned accesses to avoid runtime faults; this code may fail at runtime if the har
dware does not allow this access
if (writeAheadPointer->next==readPointer ||
^
并在android中显示分段错误:
这可以解决吗?感谢。