Open esosnovsky-sfsw opened 4 years ago
The following line in free-form Fortran:
character(len=*), parameter :: newline = achar(10) // " "
Underlines achar(10) and reports:
achar(10)
mismatched argument typesleft argument: unknown type, right argument: character
The achar function has been in the Fortran since at least Fortran 77, and is defined as returning a character(len=1), so the warning is spurious: https://gcc.gnu.org/onlinedocs/gfortran/ACHAR.html
achar
character(len=1)
Note also the lack of space or any other punctuation in "typesleft".
The issue occurred with plugin version 2020.1.
The following line in free-form Fortran:
Underlines
achar(10)
and reports:The
achar
function has been in the Fortran since at least Fortran 77, and is defined as returning acharacter(len=1)
, so the warning is spurious: https://gcc.gnu.org/onlinedocs/gfortran/ACHAR.htmlNote also the lack of space or any other punctuation in "typesleft".
The issue occurred with plugin version 2020.1.