From 6421a9db9aa6cb6e242842763e5a39bc06a7d65a Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 4 Jan 2020 16:15:11 +0100 Subject: [PATCH] require implicit none --- cmake/Compiler-PGI.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/Compiler-PGI.cmake b/cmake/Compiler-PGI.cmake index f812d710f..8ca8cfc5c 100644 --- a/cmake/Compiler-PGI.cmake +++ b/cmake/Compiler-PGI.cmake @@ -30,6 +30,9 @@ set (COMPILE_FLAGS "${COMPILE_FLAGS} -Minfo=all") set (COMPILE_FLAGS "${COMPILE_FLAGS} -Minform=warn") # instructs the compiler to display error messages at the specified and higher levels +set (COMPILE_FLAGS "${COMPILE_FLAGS} -Mdclchk") +# instructs the compiler to require that all program variables be declared + #------------------------------------------------------------------------------------------------O # Runtime debugging set (DEBUG_FLAGS "${DEBUG_FLAGS} -g")