Hello The following subroutine fails on compilation with an error stating that key(*) is not allowed in this context. There was no problem with previous versions. It states the error is in this subroutine, but in fact it gives a line number indicating the position in the code where the failure occurs which is in the previous routine in the code, i.e. the line number is incorrect.
subroutine parseKeys(buffer,key)
implicit none
character*(*) buffer
integer i,j,k,success,key(*)
key = 0
k = 0
do i=1,LEN_TRIM(buffer)
if(buffer(i:i) == ' ') cycle
k = k + 1
read(buffer(i:i),'(i1)',iostat=success) j
if(success /= 0) return
key(k) = j
enddo
end