Skip to content

Commit d8215a8

Browse files
committed
Silence all minicern warnings.
We will not fix them, some are even "fine". See https://sft.its.cern.ch/jira/browse/ROOT-9179 for more info.
1 parent c8519f8 commit d8215a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

misc/minicern/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fPIC")
66
ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC)
77
target_link_libraries(minicern ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
88

9-
# Disable optimization since it some cases was causing crashes
10-
set_target_properties(minicern PROPERTIES COMPILE_FLAGS -O0)
9+
# Disable optimization since it some cases was causing crashes.
10+
# Disable warnings, since what has worked for 40 years...
11+
# (see https://sft.its.cern.ch/jira/browse/ROOT-9179 for the warnings)
12+
set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-O0 -w")
1113

1214

1315

0 commit comments

Comments
 (0)