Hello,
Absoft seems to reject this:
program test
contains
subroutine sub(i)
integer, intent(out) :: i
write(*,*,iostat=i) "HAHAHA!"
end subroutine
end program
with:
write(*,*,iostat=i) "HAHAHA!"
^
cf90-1640 f90fe: ERROR SUB, File = test.f90, Line = 7, Column = 18
Dummy arguments with the INTENT(OUT) attribute must be defined before
use.
Clearly this is a bug, right?
I had no idea how buggy compilers were out there when it comes to new
F90 features like pointers, derived types, generic resolution, etc. I
have been using NAG and Lahey mostly and been blessed with stability. I
cannot get another compiler to even compile correctly my support codes,
yet alone the actual numerical stuff...
Thanks,
Aleksandar
|