ARM Technical Support Knowledge Articles

TABS - UNKNOWN CONTROL

Applies to: General Topics

Answer


Information in this article applies to:


QUESTION

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?

ANSWER

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:

MORE INFORMATION

Article last edited on: 2007-01-11 15:22:22

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential