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

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

Wang_J_
初學者
2,137 檢視

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 積分
5 回應
Anonymous66
傑出貢獻者 I
2,137 檢視

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 

andrew_4619
榮譽貢獻者 III
2,137 檢視

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

Wang_J_
初學者
2,137 檢視

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.

Wang_J_
初學者
2,137 檢視

app4619 wrote:

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

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

Anonymous66
傑出貢獻者 I
2,137 檢視

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.

回覆