ARM Technical Support Knowledge Articles

DASHES IN FILENAMES

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I tried to compile a file named FILE-0.C and the C51 compiler generated the following error:

Fatal Error: PARSING INVOKE-/#PRAGMA-LINE UNKNOWN CONTROL

No such error is documented, however it happens whenever you include a dash in the filename. Is there a correction for this problem?

ANSWER

In Version 5.5, there is no fix for this problem. The only solution is to replace the dash ('-') with an underscore or another character. This problem is corrected in C51 Version 6 and later.

Article last edited on: 2005-05-12 20:05:45

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