|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this knowledgebase article applies to:
When compiling an application using the C51 Compiler Version 8.17 the following warning is created by the file stddef.h.
compiling main.c... C:\KEIL\C51\INC\STDDEF.H(21): warning C322: unknown identifier
The check for a preprocessor symbol __CX2__ has been incorrectly implemented. It should be #ifdef __CX2__ instead of just #if __CX2__.
Download the attached version of the STDDEF.H file and copy it to the folder C:\KEIL\C51\INC.
The problem only occurs in C51 Version 8.17. It does not occur in any other version of the toolchain.
Request the files attached to this knowledgebase article.
Article last edited on: 2009-01-16 09:22:05
Did you find this article helpful? Yes No
How can we improve this article?