diff --git a/Applications/FileIO/Legacy/createSurface.cpp b/Applications/FileIO/Legacy/createSurface.cpp
index 0329bc10b228e5979e0869a9f4bcf321a5588daa..cf893501b57127d076a0f7b8a15ac05403cd9c1c 100644
--- a/Applications/FileIO/Legacy/createSurface.cpp
+++ b/Applications/FileIO/Legacy/createSurface.cpp
@@ -82,7 +82,11 @@ bool createSurface(GeoLib::Polyline const& ply,
     std::string gmsh_command =
         "gmsh -2 -algo meshadapt \"" + file_base_name + ".geo\"";
     gmsh_command += " -o \"" + file_base_name + ".msh\"";
+    // Temporarilly disable unused result warning
+    #pragma GCC diagnostic push
+    #pragma GCC diagnostic ignored "-Wunused-result"
     std::system(gmsh_command.c_str());
+    #pragma GCC diagnostic pop
     auto surface_mesh =
         FileIO::GMSH::readGMSHMesh("\"" + file_base_name + ".msh\"");
     if (!surface_mesh)
diff --git a/Jenkinsfile b/Jenkinsfile
index 42fcf6be1d73f0ffe839f8ba82071996ee445909..df4ce972a4ffd7f5e718ffe2b5cbb97cb9d99c3f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -113,9 +113,10 @@ pipeline {
                 GoogleTest(pattern: 'build/Tests/testrunner.xml')
               ])
               recordIssues enabledForFailure: true, filters: [
-                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*')],
+                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*'),
+                excludeMessage('.*tmpnam.*')],
                 tools: [gcc4(name: 'GCC', pattern: 'build/build.log')],
-                unstableTotalAll: 3
+                unstableTotalAll: 1
               recordIssues enabledForFailure: true, filters: [
                   excludeFile('-'), excludeFile('.*Functional\\.h'),
                   excludeFile('.*gmock-.*\\.h'), excludeFile('.*gtest-.*\\.h')
@@ -170,10 +171,11 @@ pipeline {
           post {
             always {
               recordIssues enabledForFailure: true, filters: [
-                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*')],
+                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*'),
+                excludeMessage('.*tmpnam.*')],
                 tools: [gcc4(name: 'GCC-GUI', id: 'gcc4-gui',
                              pattern: 'build/build.log')],
-                unstableTotalAll: 4
+                unstableTotalAll: 1
             }
             success { archiveArtifacts 'build/*.tar.gz,build/conaninfo.txt' }
           }
@@ -387,9 +389,10 @@ pipeline {
                 GoogleTest(pattern: 'build/Tests/testrunner.xml')
               ])
               recordIssues enabledForFailure: true, filters: [
-                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*')],
+                excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*'),
+                excludeCategory('-Wdeprecated-declarations')],
                 tools: [clang(name: 'Clang (macOS)', pattern: 'build/build.log',
-                  id: 'clang-mac')], unstableTotalAll: 3
+                  id: 'clang-mac')], unstableTotalAll: 1
             }
             success {
               archiveArtifacts 'build/*.tar.gz,build/*.dmg,build/conaninfo.txt'