ARM Technical Support Knowledge Articles

EDITOR MESSAGE: LINES LONGER THAN 2048 CHARACTERS

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

I am using the uVision editor and when I open specific source files I get the message:

The file <filename> contains lines longer than the
2048 character maximum.  The lines will be wrapped.

What is the reason for this message? How can I avoid it?

ANSWER

The uVision editor is able to edit lines with a maximum length of 2048 characters. When you open a file which contains lines beyond this limit, the uVision editor inserts new line sequences into your source file and displays the message above.

In case that you need long logical source lines you may use a backslash () character to concatenate two source lines with the C preprocessor.

Example:

  long source line  
  continues here

Article last edited on: 2004-11-22 17:47:48

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