GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

Compilation Error

Open tao28005 opened this issue 2 years ago • 0 comments

Hello,

Compilation in release mode stopped with the following error messages:

codes/GEOS/src/coreComponents/physicsSolvers/contact/SolidMechanicsALMKernelsBase.hpp:295:26: error: possibly dangling reference to a temporary [-Werror=dangling-reference] 295 | localIndex const & f1 = elemsToFaces[k][1]; | ^~

codes/GEOS/src/coreComponents/physicsSolvers/contact/SolidMechanicsALMKernelsBase.hpp:295:26: error: possibly dangling reference to a temporary [-Werror=dangling-reference] 295 | localIndex const & f1 = elemsToFaces[k][1]; | ^~

Thanks

tao28005 avatar Oct 20 '24 21:10 tao28005