Keil Logo

µVISION: EDITOR MESSAGE: LINES LONGER THAN 2048 CHARACTERS


Information in this article applies to:

  • µVision Version 3

QUESTION

I am using the µVision 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 µVision 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 µVision 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

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, November 22, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.