I'm curious to know if anyone has had issues using unsigned/signed long data types.
In previous version of software this did not present an issue, however, when I recompile the old projects and flash it to my device, the program will not run even if there have been no changes to the code. Commenting out the lines of code that handle the long data types will allow the code to run but in the end, I need to be able to use these variables.
I previously used uVision 4 without an issue, and I have recompiled code a few months ago that also worked with any issue.
Any help and/or insight would be appreciated.
Thank you, Alex
If you have a specific version that does not work, you should name it. Without knowing the exact version, this may either help or not: http://www.keil.com/support/docs/3842.htm
You are neither describing a compiler version nor posting any specific source code lines and exactly what is going wrong with them.
If you are doing interesting things with type casts, then you could have alignment issues so depending on linker and runtime library your variables for some tool versions happens correctly aligned while not for some other tool versions.
There are many ways to write incorrect code that still happens to work as intended by (bad) luck.
View all questions in Keil forum