gfortran

GNU Fortran compiler on Windows Subsystem for Linux - Segmentation fault with passing internal function to another procedure [duplicate]

∥☆過路亽.° 提交于 2020-12-12 05:16:24
问题 This question already has an answer here : Segmentation fault when passing internal function as argument (1 answer) Closed 11 days ago . I believe the following is a valid Fortran 2008 program and it works fine on genuine macOS, Linux, and Windows operating systems with both Intel and GNU Fortran compilers. module InternalFuncCaller_mod implicit none abstract interface function getInternalFunc_proc(input) result(output) implicit none real, intent(in) :: input real :: output end function

GNU Fortran compiler on Windows Subsystem for Linux - Segmentation fault with passing internal function to another procedure [duplicate]

北城以北 提交于 2020-12-12 05:11:31
问题 This question already has an answer here : Segmentation fault when passing internal function as argument (1 answer) Closed 11 days ago . I believe the following is a valid Fortran 2008 program and it works fine on genuine macOS, Linux, and Windows operating systems with both Intel and GNU Fortran compilers. module InternalFuncCaller_mod implicit none abstract interface function getInternalFunc_proc(input) result(output) implicit none real, intent(in) :: input real :: output end function

GNU Fortran compiler on Windows Subsystem for Linux - Segmentation fault with passing internal function to another procedure [duplicate]

一世执手 提交于 2020-12-12 05:10:48
问题 This question already has an answer here : Segmentation fault when passing internal function as argument (1 answer) Closed 11 days ago . I believe the following is a valid Fortran 2008 program and it works fine on genuine macOS, Linux, and Windows operating systems with both Intel and GNU Fortran compilers. module InternalFuncCaller_mod implicit none abstract interface function getInternalFunc_proc(input) result(output) implicit none real, intent(in) :: input real :: output end function