Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有用于使用 Xcode 的 LLVM 编译器的编译器标志,它将所有“char”类型处理为“unsigned char”?
谢谢
你想要的标志是-funsigned-char
-funsigned-char
Xcode 的设置视图也使用GCC_CHAR_IS_UNSIGNED_CHAR.
GCC_CHAR_IS_UNSIGNED_CHAR