compile failure with clang and debug on
Issue #942
resolved
In MultiMeshFunction.cpp
// Iterate over meshes from top to bottom
std::size_t part = multimesh.num_parts() - 1;
for (;part >= 0; part--)
This code is equivalent to while(true)
because part is always >=0. Clang complains about this.
Comments (2)
-
reporter -
- changed status to resolved
These should be fixed now (but I haven't built with clang myself yet to confirm there aren't any other issues).
- Log in to comment
Also
GeometryPredicates::convex_hull_is_degenerate
- error: control may reach end of non-void functionConvexTriangulation.cpp
- error: unused variable 'coplanar_tol' [-Werror,-Wunused-variable] const double coplanar_tol = 1000*DOLFIN_EPS_LARGE;