When using '-stand 03' option to ifort I'm getting warnings about the line length, even though they are below the 132 allowed by the standard. In all cases it involves a variable name being split across 2 lines. Here are the 2 lines of code in question:
res(21)=5.d-1*t134375*(1.5d0*t134375*t134382+5.d-1*t134375*(-(t134374*t134375*t134380)+5.d-1*t134375*(t134444+5.d-1*t134374*t13& &4375*t134445)))and here is the resulting warning when compiling with '-stand 03':
basis_shell_pg_kpoint.F90(189): warning #5268: Extension to standard: The text exceeds right hand column allowed on the line. res(21)=5.d-1*t134375*(1.5d0*t134375*t134382+5.d-1*t134375*(-(t134374*t134375*t134380)+5.d-1*t134375*(t134444+5.d-1*t134374*t134375& ------------------------------------------------------------------------------------------------------------------------------------^
So it appears the compiler has moved the line ending onto the next line and is counting the line plus the remainder of the variable name on the next line when calculating the line length. Is this correct? Surely the line length check should not 'extend' onto the next line?
This is seen with:
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.2.137 Build 20110112 Copyright (C) 1985-2011 Intel Corporation. All rights reserved
Any ideas what the problem is?
Many thanks
Andy


