ARM Technical Support Knowledge Articles

HYPHENS ARE NOT ALLOWED IN INCLUDE FILE FILENAMES

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

If I try to use an include file with a hyphen in the filename, I get a Syntax error when I compile the file. If I take the hyphen out, then the file compiles fine. Why is this?

ANSWER

This is a bug in the compiler, and it has been fixed in version 6 of the toolset. As a workaround, you must avoid using hyphens in include file filenames.

Article last edited on: 2004-06-15 09:22:44

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