Hi,
I'm using the ARM DS-5 Eclipse IDE.
I'm attempting to link 2 projects (myProj and myProj_bsp). The first one is built on ARM-6 Compiler, meanwhile the second one is built on ARM-5 Compiler. Therefore, I've got the build errors: L6242E cannot link object as its attributes are incompatible with the image attributes. In the console window, I've got the following errors:
....wchart-16 clashes with wchart-32.
....packed-enum clashes with enum_is_int.
I think that the error is due to the data type mismatch between 2 compilers.
Could anybody tell me how to fix this issue ??
You can set them in Arm C Compiler 6 > Miscellaneous
Thanks, it works perfectly. How about the enum_is_int error ?? Is there a command to fix that for Arm 6 Compiler ?
I think you should use -fshort_enumshttps://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-fshort-enums---fno-short-enums