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

Warn interfaces bug

nvaneck
New Contributor I
973 Views

It doesn't work properly if the file is freeform and lines exceed maximum line length for fixed form. Generates lots of false errors (In my case, hundreds). For example, if a variable type statement exceeds fixed form max length, it thinks all variables mentioned beyond max length are not explicitly typed, thinks some are unused if name is split across the max length boundary, etc. In other words, it ignores all characters past the maximum fixed form line length.

0 Kudos
6 Replies
lklawrie
Beginner
973 Views
I think you need to supply a short program code to support this statement. Sounds really odd.
0 Kudos
Steven_L_Intel1
Employee
973 Views
It does sound odd, but it's a real problem - our issue DPD200175196. It happens only if you also ask for standards checking. It has been fixed for a future release - see also http://software.intel.com/en-us/forums/showthread.php?t=97331
0 Kudos
nvaneck
New Contributor I
973 Views
Steve, that's nice to know; I'll turn off standards checking so I see the interface warnings without invalid stuff. Thanks!
0 Kudos
Steven_L_Intel1
Employee
973 Views
Of course, you could also continue those long lines so that they are standard-conforming.
0 Kudos
nvaneck
New Contributor I
973 Views
Yes, but they are so convenient, especially with a wide-screen monitor, and keeps the code less cluttered looking.
0 Kudos
Steven_L_Intel1
Employee
973 Views

This was fixed in the 13.0 compiler.

0 Kudos
Reply