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.
Thanks,
Lynn
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.
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.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,075 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 94:33:42 |
| Calls: | 13,798 |
| Calls today: | 1 |
| Files: | 186,989 |
| D/L today: |
6,285 files (1,789M bytes) |
| Messages: | 2,438,401 |