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

Source Line Length?

lklawrie1
Beginner
1,436 Views
Prior versions of VF would note when line lengths exceeded the standard 132 character limit. Is there a compiler switch in V6.6B that will do that as well?

if not, do you have a suggestion how to easily find outlyers?

Linda
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,436 Views
For fixed-form source, the option is /warn:truncated_source. For free-form, /stand will do it.

Steve
0 Kudos
lklawrie1
Beginner
1,436 Views
I have a counter example then. /stand:f95 is not flagging lines that are too long. 134 characters in one instance -- not a comment, a true source code line.

Some one with a different compiler had to point it out to me after release...

Linda
0 Kudos
Steven_L_Intel1
Employee
1,436 Views
If you think you have found a bug in CVF (I assume here), send an example to [email protected] But first, does your source line contain tabs? CVF treates a tab as a single character for purposes of line length, but some other compilers treat a tab as up to 8 blanks.

Steve
0 Kudos
Reply