← Back to team overview

yade-dev team mailing list archive

[Bug 1813401] [NEW] Potential Particles & Blcoks compilation warnings

 

Public bug reported:

When compiling yade without -DENABLE_POTENTIAL_BLOCKS=ON
-DENABLE_POTENTIAL_PARTICLES=ON there are only 6 warnings, four of which
are due to code in external libraries (and thus unfixable).

When compiling yade with -DENABLE_POTENTIAL_BLOCKS=ON
-DENABLE_POTENTIAL_PARTICLES=ON there are 198 warnings. Mostly about
unused variable or narrowing conversion:

Not sure if I should put them all here, but in any case here they are:

pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:259:13: warning: unused variable ‘sphere’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:286:1: warning: control reaches end of non-void function [-Wreturn-type]
pkg/common/Gl1_PotentialBlock.cpp:432:31: warning: ‘functionBool’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/common/Gl1_PotentialBlock.cpp:476:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/common/Gl1_PotentialBlock.cpp:578:106: warning: unused variable ‘xAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:578:130: warning: unused variable ‘yAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:578:154: warning: unused variable ‘zAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:578:65: warning: unused variable ‘angle’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
pkg/common/Gl1_PotentialBlock.cpp:877:10: warning: unused variable ‘value’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:928:106: warning: unused variable ‘xAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:928:130: warning: unused variable ‘yAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:928:154: warning: unused variable ‘zAxis’ [-Wunused-variable]
pkg/common/Gl1_PotentialBlock.cpp:928:65: warning: unused variable ‘angle’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1159:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:1162:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:1190:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:1265:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:1332:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:1346:16: warning: unused variable ‘clumpId’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1347:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:139:118: warning: unused variable ‘spacing’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:139:72: warning: unused variable ‘persistenceA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:139:7: warning: unused variable ‘abdCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:139:95: warning: unused variable ‘persistenceB’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1459:7: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1460:18: warning: variable ‘startingPt’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1499:7: warning: unused variable ‘volume’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1501:11: warning: variable ‘boundingDist’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1654:12: warning: variable ‘oldmax’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1698:14: warning: variable ‘centre’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1709:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1873:7: warning: unused variable ‘R’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1874:7: warning: unused variable ‘k’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:1966:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:1996:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2000:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2029:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2031:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2069:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2159:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:2191:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2195:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2224:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2226:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2264:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:2334:8: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2448:10: warning: unused variable ‘s’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2449:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2449:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2449:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2526:10: warning: unused variable ‘s’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2527:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2527:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2527:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:186: warning: unused variable ‘d’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:255:95: warning: unused variable ‘jointNo’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2571:12: warning: variable ‘Q1’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:2572:12: warning: variable ‘Q2’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:2635:15: warning: unused variable ‘numberColumns’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2669:10: warning: unused variable ‘s’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2670:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2670:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2670:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2711:12: warning: variable ‘Q1’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:2712:12: warning: variable ‘Q2’ set but not used [-Wunused-but-set-variable]
pkg/dem/BlockGen.cpp:2753:15: warning: unused variable ‘numberColumns’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2778:8: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:2827:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/BlockGen.cpp:298:111: warning: ‘asperity’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:298:139: warning: ‘sigmaC’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:298:86: warning: ‘JCS’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:309:19: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:309:38: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:309:57: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:310:168: warning: ‘cohesion’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:310:21: warning: ‘phi_b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:310:45: warning: ‘phi_r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:310:67: warning: ‘JRC’ may be used uninitialized in this function [-Wmaybe-uninitialized]
pkg/dem/BlockGen.cpp:326:22: warning: unused variable ‘linecount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:161: warning: unused variable ‘spacing’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:329:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:547:22: warning: unused variable ‘linecount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:549:16: warning: unused variable ‘PI’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:161: warning: unused variable ‘spacing’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:550:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:648:11: warning: unused variable ‘fns’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:845:14: warning: unused variable ‘radius’ [-Wunused-variable]
pkg/dem/BlockGen.cpp:861:14: warning: unused variable ‘conditioningFactor’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1019:10: warning: variable ‘constraintInit’ set but not used [-Wunused-but-set-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:108:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:123:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1274:7: warning: unused variable ‘f’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1859:18: warning: unused variable ‘s1’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1903:61: warning: unused variable ‘planeNoA2’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1903:95: warning: unused variable ‘planeNoB2’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:27: warning: unused variable ‘transB’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:45: warning: unused variable ‘blasM’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:60: warning: unused variable ‘blasN’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1959:7: warning: unused variable ‘blasLDA’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:1960:7: warning: unused variable ‘blasLDC’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:2206:10: warning: unused variable ‘gradient’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:227:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:244:12: warning: unused variable ‘prevContactArea’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:260:15: warning: unused variable ‘f1’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:261:15: warning: unused variable ‘f2’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:412:39: warning: unused variable ‘k’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:414:7: warning: unused variable ‘sphere’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:439:15: warning: unused variable ‘PI’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:441:18: warning: unused variable ‘s1’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:442:18: warning: unused variable ‘s2’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:446:31: warning: unused variable ‘count’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:664:9: warning: unused variable ‘fA’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:713:18: warning: unused variable ‘s1’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:780:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:783:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:35: warning: unused variable ‘planeNoB3’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:63: warning: unused variable ‘totalPlanes3’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:7: warning: unused variable ‘planeNoA3’ [-Wunused-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:813:28: warning: variable ‘Dinit’ set but not used [-Wunused-but-set-variable]
pkg/dem/Ig2_PB_PB_ScGeom.cpp:986:56: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/KnKsPBLaw.cpp:20:14: warning: unused variable ‘dt’ [-Wunused-variable]
pkg/dem/KnKsPBLaw.cpp:277:27: warning: unused variable ‘maxShear’ [-Wunused-variable]
pkg/dem/KnKsPBLaw.cpp:306:10: warning: unused variable ‘beta’ [-Wunused-variable]
pkg/dem/KnKsPBLaw.cpp:341:11: warning: variable ‘normal’ set but not used [-Wunused-but-set-variable]
pkg/dem/KnKsPBLaw.cpp:378:9: warning: variable ‘beta’ set but not used [-Wunused-but-set-variable]
pkg/dem/KnKsPBLaw.cpp:489:9: warning: variable ‘beta’ set but not used [-Wunused-but-set-variable]
pkg/dem/KnKsPBLaw.cpp:55:11: warning: variable ‘oriNormalF’ set but not used [-Wunused-but-set-variable]
pkg/dem/PotentialBlock.cpp:53:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
pkg/dem/PotentialBlock2AABB.cpp:12:11: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockBolt.cpp:185:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockBolt.cpp:347:11: warning: variable ‘nodeDist’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockBolt.cpp:386:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockBolt.cpp:404:8: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/RockBolt.cpp:508:8: warning: unused variable ‘feasible’ [-Wunused-variable]
pkg/dem/RockBolt.cpp:509:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockBolt.cpp:512:7: warning: unused variable ‘planeNoA’ [-Wunused-variable]
pkg/dem/RockBolt.cpp:518:8: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/RockLiningGlobal.cpp:101:8: warning: unused variable ‘intersectNo’ [-Wunused-variable]
pkg/dem/RockLiningGlobal.cpp:196:14: warning: variable ‘tempForceGlobal’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
pkg/dem/RockLiningGlobal.cpp:505:11: warning: variable ‘nodeDist’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockLiningGlobal.cpp:545:14: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockLiningGlobal.cpp:563:8: warning: unused variable ‘converge’ [-Wunused-variable]
pkg/dem/RockLiningGlobal.cpp:670:8: warning: unused variable ‘feasible’ [-Wunused-variable]
pkg/dem/RockLiningGlobal.cpp:671:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
pkg/dem/RockLiningGlobal.cpp:674:7: warning: unused variable ‘planeNoA’ [-Wunused-variable]
pkg/dem/RockLiningGlobal.cpp:680:8: warning: unused variable ‘converge’ [-Wunused-variable]

** Affects: yade
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1813401

Title:
  Potential Particles & Blcoks compilation warnings

Status in Yade:
  New

Bug description:
  When compiling yade without -DENABLE_POTENTIAL_BLOCKS=ON
  -DENABLE_POTENTIAL_PARTICLES=ON there are only 6 warnings, four of
  which are due to code in external libraries (and thus unfixable).

  When compiling yade with -DENABLE_POTENTIAL_BLOCKS=ON
  -DENABLE_POTENTIAL_PARTICLES=ON there are 198 warnings. Mostly about
  unused variable or narrowing conversion:

  Not sure if I should put them all here, but in any case here they are:

  pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:1035:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:1036:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:259:13: warning: unused variable ‘sphere’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:286:1: warning: control reaches end of non-void function [-Wreturn-type]
  pkg/common/Gl1_PotentialBlock.cpp:432:31: warning: ‘functionBool’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/common/Gl1_PotentialBlock.cpp:476:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/common/Gl1_PotentialBlock.cpp:578:106: warning: unused variable ‘xAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:578:130: warning: unused variable ‘yAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:578:154: warning: unused variable ‘zAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:578:65: warning: unused variable ‘angle’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:717:81: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:718:79: warning: narrowing conversion of ‘(double)((const Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 0>*)
  pkg/common/Gl1_PotentialBlock.cpp:877:10: warning: unused variable ‘value’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:928:106: warning: unused variable ‘xAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:928:130: warning: unused variable ‘yAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:928:154: warning: unused variable ‘zAxis’ [-Wunused-variable]
  pkg/common/Gl1_PotentialBlock.cpp:928:65: warning: unused variable ‘angle’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1159:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:1162:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:1190:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:1265:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:1332:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:1346:16: warning: unused variable ‘clumpId’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1347:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:139:118: warning: unused variable ‘spacing’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:139:72: warning: unused variable ‘persistenceA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:139:7: warning: unused variable ‘abdCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:139:95: warning: unused variable ‘persistenceB’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1459:7: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1460:18: warning: variable ‘startingPt’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1499:7: warning: unused variable ‘volume’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1501:11: warning: variable ‘boundingDist’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1654:12: warning: variable ‘oldmax’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1698:14: warning: variable ‘centre’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1709:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1873:7: warning: unused variable ‘R’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1874:7: warning: unused variable ‘k’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:1966:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:1996:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2000:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2029:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2031:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2069:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2159:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:2191:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2195:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2224:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2226:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2264:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:2334:8: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2448:10: warning: unused variable ‘s’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2449:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2449:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2449:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2526:10: warning: unused variable ‘s’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2527:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2527:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2527:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:186: warning: unused variable ‘d’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:255:95: warning: unused variable ‘jointNo’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2571:12: warning: variable ‘Q1’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:2572:12: warning: variable ‘Q2’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:2635:15: warning: unused variable ‘numberColumns’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2669:10: warning: unused variable ‘s’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2670:10: warning: unused variable ‘xlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2670:28: warning: unused variable ‘ylocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2670:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2711:12: warning: variable ‘Q1’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:2712:12: warning: variable ‘Q2’ set but not used [-Wunused-but-set-variable]
  pkg/dem/BlockGen.cpp:2753:15: warning: unused variable ‘numberColumns’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2778:8: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:2827:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/BlockGen.cpp:298:111: warning: ‘asperity’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:298:139: warning: ‘sigmaC’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:298:86: warning: ‘JCS’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:309:19: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:309:38: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:309:57: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:310:168: warning: ‘cohesion’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:310:21: warning: ‘phi_b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:310:45: warning: ‘phi_r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:310:67: warning: ‘JRC’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  pkg/dem/BlockGen.cpp:326:22: warning: unused variable ‘linecount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:161: warning: unused variable ‘spacing’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:329:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:547:22: warning: unused variable ‘linecount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:549:16: warning: unused variable ‘PI’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:115: warning: unused variable ‘persistenceA’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:138: warning: unused variable ‘persistenceB’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:161: warning: unused variable ‘spacing’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:27: warning: unused variable ‘boundaryCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:50: warning: unused variable ‘abdCount’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:550:7: warning: unused variable ‘boundaryNo’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:648:11: warning: unused variable ‘fns’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:845:14: warning: unused variable ‘radius’ [-Wunused-variable]
  pkg/dem/BlockGen.cpp:861:14: warning: unused variable ‘conditioningFactor’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1019:10: warning: variable ‘constraintInit’ set but not used [-Wunused-but-set-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:108:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:123:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1274:7: warning: unused variable ‘f’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1859:18: warning: unused variable ‘s1’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1903:61: warning: unused variable ‘planeNoA2’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1903:95: warning: unused variable ‘planeNoB2’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:27: warning: unused variable ‘transB’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:45: warning: unused variable ‘blasM’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1958:60: warning: unused variable ‘blasN’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1959:7: warning: unused variable ‘blasLDA’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:1960:7: warning: unused variable ‘blasLDC’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:2206:10: warning: unused variable ‘gradient’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:227:8: warning: unused variable ‘locationStuck’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:244:12: warning: unused variable ‘prevContactArea’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:260:15: warning: unused variable ‘f1’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:261:15: warning: unused variable ‘f2’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:412:39: warning: unused variable ‘k’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:414:7: warning: unused variable ‘sphere’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:439:15: warning: unused variable ‘PI’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:441:18: warning: unused variable ‘s1’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:442:18: warning: unused variable ‘s2’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:446:31: warning: unused variable ‘count’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:664:9: warning: unused variable ‘fA’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:713:18: warning: unused variable ‘s1’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:780:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:783:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:35: warning: unused variable ‘planeNoB3’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:63: warning: unused variable ‘totalPlanes3’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:795:7: warning: unused variable ‘planeNoA3’ [-Wunused-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:813:28: warning: variable ‘Dinit’ set but not used [-Wunused-but-set-variable]
  pkg/dem/Ig2_PB_PB_ScGeom.cpp:986:56: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/KnKsPBLaw.cpp:20:14: warning: unused variable ‘dt’ [-Wunused-variable]
  pkg/dem/KnKsPBLaw.cpp:277:27: warning: unused variable ‘maxShear’ [-Wunused-variable]
  pkg/dem/KnKsPBLaw.cpp:306:10: warning: unused variable ‘beta’ [-Wunused-variable]
  pkg/dem/KnKsPBLaw.cpp:341:11: warning: variable ‘normal’ set but not used [-Wunused-but-set-variable]
  pkg/dem/KnKsPBLaw.cpp:378:9: warning: variable ‘beta’ set but not used [-Wunused-but-set-variable]
  pkg/dem/KnKsPBLaw.cpp:489:9: warning: variable ‘beta’ set but not used [-Wunused-but-set-variable]
  pkg/dem/KnKsPBLaw.cpp:55:11: warning: variable ‘oriNormalF’ set but not used [-Wunused-but-set-variable]
  pkg/dem/PotentialBlock.cpp:53:10: warning: variable ‘parallel’ set but not used [-Wunused-but-set-variable]
  pkg/dem/PotentialBlock2AABB.cpp:12:11: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockBolt.cpp:185:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:295:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:299:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:303:59: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockBolt.cpp:347:11: warning: variable ‘nodeDist’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockBolt.cpp:386:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockBolt.cpp:404:8: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/RockBolt.cpp:508:8: warning: unused variable ‘feasible’ [-Wunused-variable]
  pkg/dem/RockBolt.cpp:509:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockBolt.cpp:512:7: warning: unused variable ‘planeNoA’ [-Wunused-variable]
  pkg/dem/RockBolt.cpp:518:8: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/RockLiningGlobal.cpp:101:8: warning: unused variable ‘intersectNo’ [-Wunused-variable]
  pkg/dem/RockLiningGlobal.cpp:196:14: warning: variable ‘tempForceGlobal’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:399:60: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:403:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:407:58: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:412:52: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:413:50: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:417:68: warning: narrowing conversion of ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 3, 1>, 1>*)
  pkg/dem/RockLiningGlobal.cpp:505:11: warning: variable ‘nodeDist’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockLiningGlobal.cpp:545:14: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockLiningGlobal.cpp:563:8: warning: unused variable ‘converge’ [-Wunused-variable]
  pkg/dem/RockLiningGlobal.cpp:670:8: warning: unused variable ‘feasible’ [-Wunused-variable]
  pkg/dem/RockLiningGlobal.cpp:671:12: warning: variable ‘endPt’ set but not used [-Wunused-but-set-variable]
  pkg/dem/RockLiningGlobal.cpp:674:7: warning: unused variable ‘planeNoA’ [-Wunused-variable]
  pkg/dem/RockLiningGlobal.cpp:680:8: warning: unused variable ‘converge’ [-Wunused-variable]

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1813401/+subscriptions


Follow ups