Skip to content

Commit

Permalink
PWR007: Suggest using implicit none (external)
Browse files Browse the repository at this point in the history
  • Loading branch information
inaki-amatria committed Dec 2, 2024
1 parent afc3928 commit bef7aaf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Checks/PWR007/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ statement.
> type of operation used in computations. Note the example code below shows
> issues with integer/real division operations due to implicit data typing.
> [!TIP]
> Starting with Fortran 2018, it is possible to use the extended form
> `implicit none (type, external)` to disable implicit typing and enable the
> compiler to detect procedure calls through implicit interfaces. This approach
> mitigates the risks associated with such procedures, as outlined in
> [PWR068](Checks/PWR068/).
### Code example

In the following example, the data type of all the variables is determined
Expand Down

0 comments on commit bef7aaf

Please sign in to comment.