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 solve "expected an expression" error?

Hello, I'm new to ARM and Keil tools. I'm using Keil uVision V4.71.2.0. Compiler is Armcc.Exe. Compiler version is v5.03.0.69.

I'm working on large code base. When I try to build code, I get the following error:

Build target 'proj1_Debug'
compiling RTX_Config.c...
C:\Keil\ARM\RV31\INC\RTX_lib.c(185): error: #29: expected an expression
Target not created

In RTX_lib.c, line 185 looks is as follows:

#if (__ARM__ && __RTA_RTX_CONFIG)

what might me the problem? Thanks in advance.

0