Keil Logo

µVISION: error: unknown Type Name


Information in this knowledgebase article applies to:

  • Keil MDK 5
  • Arm Compiler 6

SYMPTOM

My project is configured for Arm Compiler 6. 

Despite the project build results in 0 Error (s) - 0 Warning (s),  µVision's Dynamic Syntax Checking reports an error in a header file:

error: unknown type name ...

CAUSE

µVision's Dynamic Syntax Checking currently has two shortcomings for header files:

  • The header files are analyzed like a separate C source file. Definitions may be missing which usually come from other header files that are included in the C/C++ file before.
  • The header files are always analyzed as a C and not as a C++ file, even if they depend on a *.cpp file.

Because of these known issues, errors may be reported by Dynamic Syntax Checking by mistake.

MORE INFORMATION

Last Reviewed: Friday, October 16, 2020


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.