Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

minor SUBMODULE bug

$
0
0
module WhatLineIsTheError
    implicit none
    interface
    module function thing(it)
        implicit none
        integer             :: thing
        integer, intent(in) :: it
    end function
    end interface
end module WhatLineIsTheError

submodule(WhatLineIsTheError) subm1_WhatLineIsTheError
    implicit none

    contains
    module function thing(it)
        implicit none
        integer             :: thing
        integer, intent(in) :: it
    end function
end submodule subm1_WhatLineIsTheError
Compiling with Intel(R) Visual Fortran Compiler 17.0.4.210 [IA-32]...
warning #6178: The return value of this FUNCTION has not been defined.   [THING]

It is but a minor problem. The error has no line association to the source so clicking it takes you to line 1. There have been other errors in SUBMODULE of this type that have been fixed, I suspect there are possibly a number of similar errors of the same class.  


Viewing all articles
Browse latest Browse all 415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>