I have a structure within #pragma pack(push,1) and #pragma pack(pop). I would like to know if this will properly work on iphone compiler, and if there might be other side effects outside of those macros.
Thanks,
Raxvan.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
#pragma pack(push)and#pragma pack(pop)statements should work like you are used to in let’s sayC++, and they should have no side-effects.GCCandLLVMwill compile this like they would do normally using any other C-like language.