Skip to content

Commit ba12fc9

Browse files
committed
remove realloc warning
1 parent 19d557c commit ba12fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compilers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ elseif(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
3737
endif()
3838

3939
string(APPEND CMAKE_Fortran_FLAGS " -fimplicit-none")
40-
string(APPEND CMAKE_Fortran_FLAGS " -Wrealloc-lhs") # not -Wrealloc-lhs-all which warns on character
40+
# string(APPEND CMAKE_Fortran_FLAGS " -Wrealloc-lhs") # not -Wrealloc-lhs-all which warns on character
4141
string(APPEND CMAKE_Fortran_FLAGS " -Werror=array-bounds -fcheck=all")
4242
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL PGI)
4343
string(APPEND CMAKE_Fortran_FLAGS " -C -Mdclchk")

0 commit comments

Comments
 (0)