GENERAL: TABS - UNKNOWN CONTROL
Information in this article applies to:
I am using µVision to translate C source files, but I am getting the following error:
FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA-LINE LINE: C51.EXE myfile.c TABS( ERROR: UNKNOWN CONTROL
I seems that µVision inserts a TABS control that is not known by the Keil Compiler. What is wrong and how can I solve my problem?
The TABS directive tells the compiler the tab width for expansion of tab (0x09) characters into space characters. The directive was introduced in µVision V2.30 and is derived from the setting under Edit — Configuration — Editor — C/C++ Files — Tab Size.
The problem occurs when you are running a C Compiler that is older than the µVision release and predates the µVision version.
From µVision, you may avoid the generation of the TABS directive in the following ways:
Last Reviewed: Thursday, January 11, 2007
of your data.