Hello:
I am getting a compiler error, and was able to narrow it down to a test case. The error is: The shapes of the array expressions do not conform.
I am using the 14.0.3.202 version of the compiler. When I switch back to version 12.0.5.221, it compiles just fine.
Here is the sample code:
module TestMod implicit none private character (len = 100), dimension(5) :: charArr contains !****************************************************************************** character (len = 100) function GetCharArr() dimension :: GetCharArr(5) GetCharArr = charArr end function GetCharArr !****************************************************************************** end module TestMod
Can anyone explain to me why I'm getting this error message, or, if it is possibly a compiler issue?
Thanks.
Michael