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,099 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492381:01:04 |
| Calls: | 14,106 |
| Calls today: | 2 |
| Files: | 187,124 |
| D/L today: |
2,899 files (1,177M bytes) |
| Messages: | 2,496,314 |
| Posted today: | 1 |