Deutsch   English   Français   Italiano  
<vhgdqh$1es3r$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu>
Newsgroups: comp.lang.fortran
Subject: Re: can gfortran notify me when it can not find a module interface
 for a subroutine call ?
Date: Mon, 18 Nov 2024 22:07:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <vhgdqh$1es3r$1@dont-email.me>
References: <vhg9ik$1e44e$1@dont-email.me> <vhgagr$1e44e$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Nov 2024 23:07:13 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f3dc949bc555fc861a2b8ba9c89dcffa";
	logging-data="1536123"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/CLKNeMSYPLI6jX69JjBJb"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
 git.gnome.org/pan2)
Cancel-Lock: sha1:0cS2KosJXzURF90Vj8Th07eJQVk=
Bytes: 1791

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.

-- 
steve