We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8519f8 commit d8215a8Copy full SHA for d8215a8
misc/minicern/CMakeLists.txt
@@ -6,8 +6,10 @@ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fPIC")
6
ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC)
7
target_link_libraries(minicern ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
8
9
-# Disable optimization since it some cases was causing crashes
10
-set_target_properties(minicern PROPERTIES COMPILE_FLAGS -O0)
+# Disable optimization since it some cases was causing crashes.
+# 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")
13
14
15
0 commit comments