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

there are many syntax errors and undefined identifiers.

I have developed programs in C and it compiles with no errors. and while compiling it in Keil compiler for 8051 MPU, there are many syntax errors and undefined identifiers. What could be problems and whr i have to consider?

Thank you

Parents
  • You have probably used extensions specific to some other compiler.

    Maybe you have some header files missing?

    See the Keil C51 Manual for details of ANSI features not supported - in particular, not all the standard library functions are provided.

    The standard approach is to start with the first error - fix that, then re-build and see how many of the others dissapear!

Reply
  • You have probably used extensions specific to some other compiler.

    Maybe you have some header files missing?

    See the Keil C51 Manual for details of ANSI features not supported - in particular, not all the standard library functions are provided.

    The standard approach is to start with the first error - fix that, then re-build and see how many of the others dissapear!

Children
No data