Skip to content

Commit 6ffe06b

Browse files
committed
warning messages
1 parent 8ba6d18 commit 6ffe06b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,18 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
135135
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
136136
add_compile_options(
137137
-Wall
138+
-Wextra
138139
-fcheck=all,no-array-temps
139140
-fbacktrace
140141
-fimplicit-none
141142
#-ffpe-trap=invalid,zero,denormal,overflow
142143
-fsignaling-nans
143144
-finit-real=snan
144145
-finit-integer=-99999999
146+
-Wintrinsic-shadow
147+
-Wunderflow
148+
-Wrealloc-lhs
149+
-Wsurprising
145150
)
146151
endif()
147152

src/simulation/m_qbmm.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,7 @@ contains
562562

563563
end subroutine s_compute_qbmm_rhs
564564

565-
!Coefficient array for non-polytropic model (pb and mv values are accounted in wght_pb and wght_mv)
566-
565+
!Coefficient array for non-polytropic model (pb and mv values are accounted in wght_pb and wght_mv)
567566
pure subroutine s_coeff_nonpoly(pres, rho, c, coeffs)
568567
#ifdef _CRAYFTN
569568
!DIR$ INLINEALWAYS s_coeff_nonpoly

0 commit comments

Comments
 (0)