This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ask Keil Support: Are the C51, AX51, LX51 backward compatible?

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

Parents
  • "If, indeed you have an 'error that don't hurt' that the earlier release pass through, fix it."

    For example, I once worked with some code which built successfully, despite having a typo in a variable name!

    How can this be?
    Because the name was very long, and the typo was beyond the length considered "significant" by the (old) tools!

    So, you can imagine that a "new improved" version of the tools with "extra long name support" would fail to build that code...

Reply
  • "If, indeed you have an 'error that don't hurt' that the earlier release pass through, fix it."

    For example, I once worked with some code which built successfully, despite having a typo in a variable name!

    How can this be?
    Because the name was very long, and the typo was beyond the length considered "significant" by the (old) tools!

    So, you can imagine that a "new improved" version of the tools with "extra long name support" would fail to build that code...

Children
No data