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

How to interpret compiler error message?

Hello, I'm getting following error message:

compiling RTX_Config.c...
C:\Keil\ARM\RV31\INC\RTX_lib.c(185): error: #29: expected an expression

I'm using Keil uVision V4.71.2.0 tools. C compier Armcc.Exe version v5.03.0.69

Is the error in filename RTX_Config.c, line number 185?

Parents
  • "what might be the problem?"

    Did you read the answer you got earlier? What about the part:

    "However, such an error could quite possibly be caused by some earlier mistake - eg, a missing semicolon - such that the only way the compiler can make any sense of your source text is to assume that there should have been an expression at that point..."

    So have you looked at what source lines the compiler must have processed before it reached the line mentioned in the error message?

Reply
  • "what might be the problem?"

    Did you read the answer you got earlier? What about the part:

    "However, such an error could quite possibly be caused by some earlier mistake - eg, a missing semicolon - such that the only way the compiler can make any sense of your source text is to assume that there should have been an expression at that point..."

    So have you looked at what source lines the compiler must have processed before it reached the line mentioned in the error message?

Children
No data