请问在这个环境下,定义结构体按字节对齐如何设置,谢谢。
在编译选项里将--align_structs设置为1了,编译warnings:Description Resource Path Location Type#1176-D the "packed" attribute is ignored in a typedef
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问在这个环境下,定义结构体按字节对齐如何设置,谢谢。
在编译选项里将--align_structs设置为1了,编译warnings:Description Resource Path Location Type#1176-D the "packed" attribute is ignored in a typedef