Hello, I meet illegal bitfield type 'long long' compile errors when use cw10.6.4, the code like this,
How can I solve this error ?
Thanks.
Hello,
because MPC5604 is 32-bit microcontroller, compiler does not allow 64bit bitfield.
Regards,
Martin
Hi wang ning,
I was just aware you tried to use 64bit type.
The 64 bit support is not a hardware native support but a software emulation support, so getting access to an intermediate 64 intermediate is not possible., this was according to the compiler engineer leading the work on S12z compiler.
S12Z target architecture does not support in hardware neither the 64-bit long long type nor the required operation .
CW for MCU (which includes S12Z target) has 64-bit long long support emulated in software (the support can be selected in the new project wizard).
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ning,
I didn't know you use PPC5, I move FW your question to CW for PPC5 support engineer.
BR
Jennie Zhang.