Sujet : Re: can gfortran notify me when it can not find a module interface for a subroutine call ?
De : lynnmcguire5 (at) *nospam* gmail.com (Lynn McGuire)
Groupes : comp.lang.fortranDate : 19. Nov 2024, 04:39:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhh19n$1ls8v$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 11/18/2024 4:07 PM, Steven G. Kargl wrote:
On Mon, 18 Nov 2024 15:10:51 -0600, Lynn McGuire wrote:
On 11/18/2024 2:54 PM, Lynn McGuire wrote:
Can gfortran notify me when it can not find a module interface for a
subroutine or function call ?
>
I have 6,000+ subroutines and only 2,603 module interfaces in my module
file. I would like to automate this as much as possible.
>
>
I just found "-Wimplicit-procedure" and am trying it out.
>
If you're in porting mode with gfortran, I suggest adding
the options -Wall -Wextra -Wsurprising to your compiler
flags. These might lead to a long list of things to
consider. If the code is old and rather dirty with
extensions, you'll likely need the -std=legacy option.
I have to have "-mrtd -fno-underscoring -Ic:\dii\inc -fdec -fdefault-double-8 -fno-automatic -fdefault-integer-8 -Wimplicit-procedure" turned on at the moment.
I tried without -fdec and ran into thousands of lines of problems. Not this port.
Thanks,
Lynn