OBS004 entry-statement
warning enabled by defaultAn entry statement.
Why
entry gives a procedure several entry points sharing local variables, which makes control and data flow hard to follow. It is obsolescent since Fortran 2008. Write separate procedures that share a module-level helper.
Reported
fortran
entry reset(x)Preferred
fortran
subroutine reset(x)Suppressing
For one occurrence, with the reason on the same line (or alone on the line before the statement):
fortran
! fobis: ignore[OBS004] <why this occurrence is fine>For the whole project, ignore = OBS004 in the fobos [lint] section.
Equivalent
Fortitude rule OB021 (see Lint Rules).