Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
203 Views

Warning #5194: Source line truncated.

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
Highlighted
203 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
Highlighted
Beginner
203 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
Highlighted
203 Views

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

0 Kudos