Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 ディスカッション

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

Wang_J_
ビギナー
2,122件の閲覧回数

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,122件の閲覧回数

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,122件の閲覧回数

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

Wang_J_
ビギナー
2,122件の閲覧回数

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,122件の閲覧回数

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,122件の閲覧回数

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.

返信