We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
We build a project which can be compiled and linked in success with PK51 V7.0(C51 V7.5 etc..).
But my colleague bought a new PK51, which has latest version (C51 V8.x). The project is failed to be compiled.
Do we have to fine tune our code to make it comply with newer version? Or there is option in Keil that customer can choose which older version to be used for compiling? Otherwise, it is not good that we have to run through code every time a new Compiler is released.
Thanks
If you want to contact Keil support, this is not the place to do it - see: http://www.keil.com/forum/
"The project is failed to be compiled."
In what way, exactly did it "fail"? What messages did you get?
"Do we have to fine tune our code to make it comply with newer version?"
Look at the error messages - what are they telling you?
"it is not good that we have to run through code every time a new Compiler is released."
Nobody likes it - but that's usually the way it is, I'm afraid.
That's not just Keil - that's any tool.
You cannot simply assume that code built with one version will just work in another. You most certainly cannot assume that the generated code will be the same!
That's why changing compiler versions in mid-life of a project is never a trivial exercise!!
:-0