Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

how to fix this warning ''Line truncated to 7200 characters''

Wang_J_
Beginner
2,126 Views

At the end of an .f90 file i get the warning "warning #5272: Line truncated to 7200 characters".  The codes is just "end module"  but "module" is displayed in gray not in normal blue color.  What is the meaning of this warning? How to fix it?

0 Kudos
5 Replies
Anonymous66
Valued Contributor I
2,126 Views

The only thing on the line is "end module"? If so, this sounds like a bug in our Visual Studio* integration. Can you share your program to help us investigate the issue?

Annalee 

0 Kudos
andrew_4619
Honored Contributor III
2,126 Views

Do you have a lot of space characters and no <CR> perhaps?

0 Kudos
Wang_J_
Beginner
2,126 Views

Annalee (Intel) wrote:

The only thing on the line is "end module"? If so, this sounds like a bug in our Visual Studio* integration. Can you share your program to help us investigate the issue?

Annalee 

Yes, the only word on the line is "end module".  Behind "end module" is blank space, and  I found that if i delete the  space  behind "module" the "module" will become blue. Then i compile the program again, the same waring will appear. But the program still can be executed. So, i don't know what problem will caused by  this warning. I don't want to share the program on the forum. But if you promise to delete it after investigate the issue, i can email it to you.

0 Kudos
Wang_J_
Beginner
2,126 Views

app4619 wrote:

Do you have a lot of space characters and no <CR> perhaps?

Yes, there a lot of space characters. How about this?

0 Kudos
Anonymous66
Valued Contributor I
2,126 Views

Are the space characters before the end module on that line? If so, that is the issue. Our compiler only supports 7200 characters on a line. If they are after it, on on the previous line. that is a bug.

0 Kudos
Reply