From bef7aafce6ba332009e23580a002249a8bf2d433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Amatria=20Barral?= Date: Mon, 2 Dec 2024 13:24:57 +0100 Subject: [PATCH] PWR007: Suggest using `implicit none (external)` --- Checks/PWR007/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Checks/PWR007/README.md b/Checks/PWR007/README.md index 252524b..0d2d9fd 100644 --- a/Checks/PWR007/README.md +++ b/Checks/PWR007/README.md @@ -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