Subject: CGAL users discussion list
List archive
- From: Andrew Cunningham <>
- To:
- Subject: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1
- Date: Tue, 8 Sep 2020 12:34:00 -0700
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:FmKtiBZjc+WKEWU8PWRF8F//LSx+4OfEezUN459isYplN5qZr86zbnLW6fgltlLVR4KTs6sC17OI9fm6BSdQuN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLRi6txjdutcZjIdtKas91wbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrR2upxJxzY3abpyLOvViZa7SZ88WSHBbU8pNSyBMAIWxZJYPAeobOuZYqpHwqkcIrRSjHwmjGu3uwSJWi3/r26061eUhEQfJ3AwgBd0OtWnfodLpO6cdS++1yLLFwi/aY/xKxDf97o7IchEnofGDXbJ/a8/RxVMzGAPCi1WdsIroNC6a2eoRqWaU9fZgVf6xhG49rQF8ujaiy8ksh4TXmo8bylPJ+CF2zYs0ONG1R0F2bcKgHZZOqiyWKot7TMw8T2xnpSs3y78Lt560cSQUyJoqxhDSZfKBfoOV4RzjTP6cLSlkiH9hYr6yhBa//VK9xuD9VMS4yktGoytBn9TKq3sDzQbc6tKdRft45kqh2SiA1wTU6uxcJEA7j6vbK5o4zr43l5ofrF3PHiHrlEj3iKKabEok+u+v6+ToZrXpuIWQOJNzigH7Kqgum8q/DvokMgUWQWSX5eCx2Kfg8ED5WrlGk/w7n6vDvJzHJMkWora1AwpP3YYi7xa/AS2m0NMdnXQfNl1KZReHj4nvO1zVOv/0FOuwg0mqkDdtxvDGOLLhApXXIXjGirvuYbF960tExAop0d9f/45UCq0GIP/rRkDxu8bXDhsgPwOpwubnE8ly1p4FWWKUGaKZK6PTsVqQ5u01OeWMZYkVuCz8K/c//fLug2U5yhchevyi0pITLXy5Bf97OF6xYHz2g95HH31ZkBA5SbnDjlGYXCEbTGu0WaM66TEyDcryBojKQqikxbec2iG6GJJWb2UAAVeJRyS7P76YUusBPXrBavRqlSYJAOD4Ft0RkCq2vQq/8IJJa+rZ/ipC68Dm3dlxourSzFQ8rGIlScua1G6JQid/mWZaH2ZqjpA6mlR0zxK46YY9m+ZRTIwB7rZCTwE8NJjTz+V/Tdv1X1CZJ4bbeBOdWtyjRAoJYJc0yt4KbVx6Hozy3BmG1DesBb4TmLyCAdo/9aeOh3U=
Hi,
Code that compiles without error when using GCAL 5.0.3 now fails with 5.1 with Visual Studio 2019+Intel Compiler 19.1.
Code compiles without error when using the native Microsoft compiler.
Since the same code compiled with 5.0.3 when using ICC 19.1, maybe whatever changed from 5.0.3-5.1 is the key.
Sample code
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
using Point_3 = CGAL::Simple_cartesian< float >::Point_3;
using Mesh = CGAL::Surface_mesh< Point_3 >;
using vertex_descriptor = Mesh::Vertex_index;
using face_descriptor = Mesh::Face_index;
#include <CGAL/Surface_mesh.h>
using Point_3 = CGAL::Simple_cartesian< float >::Point_3;
using Mesh = CGAL::Surface_mesh< Point_3 >;
using vertex_descriptor = Mesh::Vertex_index;
using face_descriptor = Mesh::Face_index;
Andrew
1>D:\CGAL-5.1\include\CGAL/Cartesian/Line_3.h(38): error : incomplete type is not allowed
1> Point_3 first;1> ^
1> detected during:
1> instantiation of class "CGAL::LineC3<R_>::Rep [with R_=CGAL::Simple_cartesian<float>]" at line 46
1> instantiation of class "CGAL::LineC3<R_> [with R_=CGAL::Simple_cartesian<float>]" at line 30 of "D:\CGAL-5.1\include\CGAL/Line_3.h"
1> instantiation of class "CGAL::Line_3<R_> [with R_=CGAL::Simple_cartesian<float>]" at line 678 of "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\type_traits"
1> instantiation of "const bool std::is_move_constructible_v [with _Ty=CGAL::VectorC3<CGAL::Simple_cartesian<float>>]" at line 61 of "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\type_traits"
1> instantiation of class "std::conjunction<_First, _Rest...> [with _First=std::_Swappable_with_helper<std::add_lvalue_reference_t<CGAL::VectorC3<CGAL::Simple_cartesian<float>>>, std::add_lvalue_reference_t<CGAL::VectorC3<CGAL::Simple_cartesian<float>>>, void>, _Rest=<std::_Swappable_with_helper<std::add_lvalue_reference_t<CGAL::VectorC3<CGAL::Simple_cartesian<float>>>, std::add_lvalue_reference_t<CGAL::VectorC3<CGAL::Simple_cartesian<float>>>, void>>]" at line 66 of "C:\Program Files
1> (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\type_traits"
1> [ 9 instantiation contexts not shown ]
1> instantiation of class "CGAL::Point_3<R_> [with R_=CGAL::Simple_cartesian<float>]" at line 213 of "D:\CGAL-5.1\include\CGAL/Surface_mesh/Properties.h"
1> instantiation of class "CGAL::Properties::Property_array<T> [with T=Point_3]" at line 515 of "D:\CGAL-5.1\include\CGAL/Surface_mesh/Properties.h"
1> instantiation of class "CGAL::Properties::Property_map_base<I, T, CRTP_derived_class> [with I=CGAL::SM_Vertex_index, T=Point_3, CRTP_derived_class=CGAL::Surface_mesh<Point_3>::Property_map<CGAL::SM_Vertex_index, Point_3>]" at line 342 of "D:\CGAL-5.1\include\CGAL/Surface_mesh/Surface_mesh.h"
1> instantiation of class "CGAL::Surface_mesh<P>::Property_map<I, T> [with P=Point_3, I=CGAL::SM_Vertex_index, T=Point_3]" at line 2098 of "D:\CGAL-5.1\include\CGAL/Surface_mesh/Surface_mesh.h"
1>
- [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/08/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/08/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/08/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/09/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andreas Fabri, 09/09/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/09/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andreas Fabri, 09/09/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/09/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/08/2020
- Re: [cgal-discuss] CGAL 5.1 compile errors when using Intel Compiler 19.1, Andrew Cunningham, 09/08/2020
Archive powered by MHonArc 2.6.19+.