About the solution of error: #29: expected an expression
Recently, a keil project was created, and an error occurred during compilation: #29: expected an expression
This problem is because keil MDK uses C90 by default. You need to modify the configuration to support C99 to solve this problem.
The specific solutions are as follows:
Magic Wand --> C/C++ --> Check 'C99 Mode' on the right to confirm
Finally, recompile:
- 0 Error(s), 0 Warning(s).
Read More:
- Keil5 error: #29: expected an expression [Solved]
- How to Solve UW Microcontroller KEIL _WEAK Error
- Vue+TS main.ts error: unused expression, expected an assignment or function call
- [Solved] KEIL Error: keil Error: failed to execute ‘C:\Keil\ARM\ARMCC‘
- How to Solve Error Swift 4 Expression type ‘@value CGRect’ is ambiguous without more context
- How to Solve Uncaught Error: Syntax error, unrecognized expression:#
- Keil Error: error:#130:expected a “{” [How to Solve]
- [Solved] Keil-MDK Error: “Error: Encountered an improper argument”
- [Solved] Keil C Error: error C141: syntax error near ‘=‘, expected ‘__asm‘
- How to Solve Altium designer Rule Check Without an Error Issue
- error: expected ‘;‘ at end of member declaration and expected ‘)‘ before ‘&‘ toke Errors
- How to Fix msgsend() error: to many arguments to function call, expected 0, have2
- How to Solve Hdsc32 MDK compile error: #29 & #223-D
- [Solved] Keil5 Error: error 65: access violation at 0x08040000 : no ‘execute/read‘ permission
- How to Solve Redis Cluster Build Error
- How to Solve Kotlin unresolved reference error
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- Vue: How to Solve Error uncaught (in promise) cancel
- Android 10: How to Solve Systemui Error