Hello,
We have built a static library for iOS using FPC for iOS, version 3.0.
When the customer is compiling the iOS application using XCode 8.3 and our static library, they get plenty (about 20K) of warnings similar to this one:
Warning:pointer not aligned at address 0x1016BC5B6 (_RTTI_$SYSTEM_$$_openchararray + 22 from /Users/sbrzeski/Documents/Code/SDKiOS-5/output/OneginiSDKiOS/libsbb.a(system.o))
Warning:pointer not aligned at address 0x1016BC5DF (_RTTI_$SYSTEM_$$_char_pointer + 15 from /Users/sbrzeski/Documents/Code/SDKiOS-5/output/OneginiSDKiOS/libsbb.a(system.o))
Warning:pointer not aligned at address 0x1016BC603 (_RTTI_$SYSTEM_$$_widechar_pointer + 19 from /Users/sbrzeski/Documents/Code/SDKiOS-5/output/OneginiSDKiOS/libsbb.a(system.o))
Warning:pointer not aligned at address 0x1016BC797 (_RTTI_$SYSTEM_$$_pvmt + 7 from /Users/sbrzeski/Documents/Code/SDKiOS-5/output/OneginiSDKiOS/libsbb.a(system.o))
What exactly options we (or they) need to use to get rid of this message? Our developer has tried to use " {$CODEALIGN 8} " directive as described in the documentation, but this produces the following error: "Error: Illegal alignment directive"
Is there something that we are missing here?
Sincerely yours
Eugene Mayevski