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

Warning #5194: Source line truncated.

OP1
New Contributor II
1,612 Views

I am getting a lot of messages of the type:

longfilename.i90(1): warning #5194: Source line truncated.

Line 1 of such intermediate file looks like:

# 1 "longpath\longfilename.F90"

and it exceeds the 132-character-per-line limit.

The rest of the code inside the intermediate i90 file is ok (I make sure to never exceed the 132-character limit) - it's just the first line inserted by the preprocessor that violates this constraint.

Is there anything to worry about here?

0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,612 Views

I would not expect to see that warning if the compiler was treating the .i90 as free-form source.  It would be interesting to also add the source listing option and check out the list of compiler options at the bottom. 

0 Kudos
OP1
New Contributor II
1,612 Views

After digging a little further: this only happens because I have both /stand:f15 and /warn:truncated_source options, when fpp-ing and compiling a free-form F90 file.

The message sounds rather benign (after all the only thing being truncated in the file is not relevant from a source standpoint).

0 Kudos
Steven_L_Intel1
Employee
1,612 Views

I can't reproduce a problem using those switches, but if it doesn't bother you then we can drop it.

0 Kudos
Reply