Skip to content

Instantly share code, notes, and snippets.

@acgetchell
Created October 22, 2022 23:51
Show Gist options
  • Save acgetchell/4737c3bd4c8db622b352ab828622c6e5 to your computer and use it in GitHub Desktop.
Save acgetchell/4737c3bd4c8db622b352ab828622c6e5 to your computer and use it in GitHub Desktop.
tetrahedron_soup_to_triangulation_3
====================[ Build | bistellar_tests | Debug ]=========================
"/Users/adam/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/222.4345.21/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/adam/projects/bistellar-flip/cmake-build-debug --target bistellar_tests -j 8
[1/2] Building CXX object tests/CMakeFiles/bistellar_tests.dir/delaunay_to_remeshing_test.cpp.o
FAILED: tests/CMakeFiles/bistellar_tests.dir/delaunay_to_remeshing_test.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -DCGAL_TRIANGULATION_NO_ASSERTIONS -DCGAL_TRIANGULATION_NO_POSTCONDITIONS -DCGAL_USE_GMPXX=1 -DEIGEN_HAS_STD_RESULT_OF=0 -DTBB_USE_DEBUG -D_HAS_DEPRECATED_RESULT_OF=1 -I/Users/adam/projects/bistellar-flip/include -isystem /Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -std=c++20 -MD -MT tests/CMakeFiles/bistellar_tests.dir/delaunay_to_remeshing_test.cpp.o -MF tests/CMakeFiles/bistellar_tests.dir/delaunay_to_remeshing_test.cpp.o.d -o tests/CMakeFiles/bistellar_tests.dir/delaunay_to_remeshing_test.cpp.o -c /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:193:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[0]=facet[(0+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:194:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[1]=facet[(1+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:195:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[2]=facet[(2+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:612:33: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[0] = facet[(0+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:613:33: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[1] = facet[(1+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:614:33: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[2] = facet[(2+k)%3];
~~~~~ ~~~~~^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:90:16: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
cell[i] = index;
~~~~ ^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:194:26: error: no member named 'surface_facets_t' in namespace 'CGAL::internal_np'
internal_np::surface_facets_t,
~~~~~~~~~~~~~^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:199:26: error: no member named 'subdomain_indices_t' in namespace 'CGAL::internal_np'
internal_np::subdomain_indices_t,
~~~~~~~~~~~~~^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:205:11: error: unknown type name 'Facet_map_ref_type'
const Facet_map_ref_type& facets = choose_parameter(
^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:206:50: error: no member named 'surface_facets' in namespace 'CGAL::internal_np'
get_parameter_reference(np, internal_np::surface_facets),
~~~~~~~~~~~~~^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:208:11: error: unknown type name 'Subdomains_ref_type'
const Subdomains_ref_type& subdomains = choose_parameter(
^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:209:50: error: no member named 'subdomain_indices' in namespace 'CGAL::internal_np'
get_parameter_reference(np, internal_np::subdomain_indices),
~~~~~~~~~~~~~^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:212:40: error: no member named 'allow_non_manifold' in namespace 'CGAL::internal_np'
get_parameter(np, internal_np::allow_non_manifold),
~~~~~~~~~~~~~^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:90:16: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
cell[i] = index;
~~~~ ^
/Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:50:40: note: in instantiation of function template specialization 'CGAL::tetrahedron_soup_to_triangulation_3<CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3<CGAL::Epick>, std::vector<CGAL::Tetrahedron_3<CGAL::Epick>>>' requested here
Remeshing_triangulation tr = CGAL::tetrahedron_soup_to_triangulation_3<Remeshing_triangulation>(tetrahedra);
^
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:93:16: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
cell[i] = p2i.at(pi);
~~~~ ^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:97:75: warning: implicit conversion changes signedness: 'std::array<int, 4>::value_type' (aka 'int') to 'std::vector<CGAL::Point_3<CGAL::Epick>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
points[cell[1]], points[cell[2]], points[cell[3]]) == CGAL::POSITIVE);
~~~~~~ ^~~~~~~
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:92:20: note: expanded from macro 'CGAL_assertion'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:97:58: warning: implicit conversion changes signedness: 'std::array<int, 4>::value_type' (aka 'int') to 'std::vector<CGAL::Point_3<CGAL::Epick>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
points[cell[1]], points[cell[2]], points[cell[3]]) == CGAL::POSITIVE);
~~~~~~ ^~~~~~~
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:92:20: note: expanded from macro 'CGAL_assertion'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:97:41: warning: implicit conversion changes signedness: 'std::array<int, 4>::value_type' (aka 'int') to 'std::vector<CGAL::Point_3<CGAL::Epick>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
points[cell[1]], points[cell[2]], points[cell[3]]) == CGAL::POSITIVE);
~~~~~~ ^~~~~~~
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:92:20: note: expanded from macro 'CGAL_assertion'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:96:41: warning: implicit conversion changes signedness: 'std::array<int, 4>::value_type' (aka 'int') to 'std::vector<CGAL::Point_3<CGAL::Epick>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
CGAL_assertion(orientation(points[cell[0]],
~~~~~~ ^~~~~~~
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:92:20: note: expanded from macro 'CGAL_assertion'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:149:95: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
CGAL_precondition(static_cast<std::size_t>(tet[j]) < tr.number_of_vertices() && tet[j] >= 0);
~~~ ^
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:169:20: note: expanded from macro 'CGAL_precondition'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::precondition_fail( # EX , __FILE__, __LINE__))
^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:435:28: note: in instantiation of function template specialization 'CGAL::SMDS_3::build_finite_cells<CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3<CGAL::Epick>, std::vector<std::array<int, 4>>, std::vector<int>, boost::unordered::unordered_map<std::array<int, 3>, int>>' requested here
if (!CGAL::SMDS_3::build_finite_cells<Tr>(tr, finite_cells, subdomains, vertex_handle_vector, incident_cells_map,
^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:507:14: note: in instantiation of function template specialization 'CGAL::SMDS_3::build_triangulation_impl<CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3<CGAL::Epick>, std::vector<CGAL::Point_3<CGAL::Epick>>, std::vector<std::array<int, 4>>, boost::unordered::unordered_map<std::array<int, 3>, int>>' requested here
return build_triangulation_impl(tr, points, finite_cells, subdomains,
^
/Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:103:19: note: in instantiation of function template specialization 'CGAL::SMDS_3::build_triangulation_one_subdomain<CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3<CGAL::Epick>, std::vector<CGAL::Point_3<CGAL::Epick>>, std::vector<std::array<int, 4>>, boost::unordered::unordered_map<std::array<int, 3>, int>>' requested here
CGAL::SMDS_3::build_triangulation_one_subdomain(tr, points, finite_cells, default_si, border_facets,
^
/Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:50:40: note: in instantiation of function template specialization 'CGAL::tetrahedron_soup_to_triangulation_3<CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3<CGAL::Epick>, std::vector<CGAL::Tetrahedron_3<CGAL::Epick>>>' requested here
Remeshing_triangulation tr = CGAL::tetrahedron_soup_to_triangulation_3<Remeshing_triangulation>(tetrahedra);
^
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:149:58: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
CGAL_precondition(static_cast<std::size_t>(tet[j]) < tr.number_of_vertices() && tet[j] >= 0);
~~~ ^
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:169:20: note: expanded from macro 'CGAL_precondition'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::precondition_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:150:50: warning: implicit conversion changes signedness: 'int' to 'std::vector<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Mesh_vertex_3<CGAL::Epick, std::tuple<int, int>, int, CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Epick, CGAL::Tetrahedral_remeshing::internal::Fake_MD_V, CGAL::Triangulation_vertex_base_3<CGAL::Epick>>, CGAL::Mesh_cell_base_3<CGAL::Epick, CGAL::Tetrahedral_remeshing::internal::Fake_MD_C, CGAL::Triangulation_cell_base_3<CGAL::Epick>>>>>>>, false>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
vs[j] = vertex_handle_vector.at(tet[j] + 1);
~~ ~~~~~~~^~~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:150:47: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
vs[j] = vertex_handle_vector.at(tet[j] + 1);
~~~ ^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:150:14: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
vs[j] = vertex_handle_vector.at(tet[j] + 1);
~~ ^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:151:33: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
CGAL_postcondition(vs[j] != Vertex_handle());
~~ ^
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:221:20: note: expanded from macro 'CGAL_postcondition'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::postcondition_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:152:49: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
CGAL_postcondition(!tr.is_infinite(vs[j]));
~~ ^
/Users/adam/projects/bistellar-flip/vcpkg_installed/arm64-osx/include/CGAL/assertions.h:221:20: note: expanded from macro 'CGAL_postcondition'
(CGAL::possibly(EX)?(static_cast<void>(0)): ::CGAL::postcondition_fail( # EX , __FILE__, __LINE__))
^~
In file included from /Users/adam/projects/bistellar-flip/tests/delaunay_to_remeshing_test.cpp:14:
In file included from /Users/adam/projects/bistellar-flip/include/tetrahedron_soup_to_triangulation_3.h:25:
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:153:14: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
vs[j]->set_dimension(3);
~~ ^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:171:17: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
if(vs[j]->cell() == Cell_handle())
~~ ^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:172:16: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
vs[j]->set_cell(c);
~~ ^
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:184:32: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
facet[0]=tet[(j+1) % 4];
~~~ ~~~~~~^~~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:185:32: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
facet[1]=tet[(j+2) % 4];
~~~ ~~~~~~^~~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:186:32: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
facet[2]=tet[(j+3) % 4];
~~~ ~~~~~~^~~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:193:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[0]=facet[(0+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:194:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[1]=facet[(1+k)%3];
~~~~~ ~~~~~^~
/Users/adam/projects/bistellar-flip/include/tet_soup_to_c3t3.h:195:31: warning: implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
f[2]=facet[(2+k)%3];
~~~~~ ~~~~~^~
29 warnings and 7 errors generated.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment