Is it safe to build with -fsigned-char with Android NDK?
问题 For consistency with other platforms, I need to use signed char in some native code I'm working on. But by default on Android NDK char type is unsigned . I have tried to explicitly use signed char type but it generates too many warnings differ in signedness when string constant/library functions are involved, so I'm looking to build my code with -fsigned-char . I'm now trying to anticipate problems regarding Android ARM ABI and API when -fsigned-char is used, but I can't find any problem yet.