'PRODUCTS.qt.version_5_9_1.patches' : ['qt-5.9.1-UB20-FD32-socketcanbackend.patch']
}
+ {
+ # Build Fedora 30 with less permissive compilation flags (see spns #18962)
+ __condition__ : "VARS.dist in ['FD30']"
+ 'PRODUCTS.LIBBATCH.default.cmake_options' : "-DLIBBATCH_DEBUG_WARNINGS=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
+ 'PRODUCTS.CONFIGURATION.default.patches' : ['CONFIGURATION-SALOME-DEBUG-WARNINGS.patch']
+ }
+
{
__condition__ : "VARS.dist in ['FD32']"
'APPLICATION.products.scipy' : '1.5.2' # gcc https://github.com/scipy/scipy/issues/11611 - either patch numpy to include -fallow-argument-mismatch or move to that version
--- /dev/null
+diff --git a/cmake/SalomeSetupPlatform.cmake b/cmake/SalomeSetupPlatform.cmake
+index 87cfdf1..b56af6f 100644
+--- a/cmake/SalomeSetupPlatform.cmake
++++ b/cmake/SalomeSetupPlatform.cmake
+@@ -130,7 +130,7 @@ SET(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+ # Fight warnings
+ IF(NOT APPLE)
+- OPTION(SALOME_DEBUG_WARNINGS "Report more warnings" OFF)
++ OPTION(SALOME_DEBUG_WARNINGS "Report more warnings" ON)
+ OPTION(SALOME_TREAT_WARNINGS_AS_ERRORS "Treat warnings as errors" OFF)
+ # Report more warnings
+ MARK_AS_ADVANCED(SALOME_DEBUG_WARNINGS SALOME_TREAT_WARNINGS_AS_ERRORS)