Skip to content

Cannot build with gcc-c++ 6.0.0 #1575

Closed
@hroncok

Description

@hroncok

For 2015.03-2:

Full build log: build.log
Versions of stuff installed: root.log

For master:

build.log.gz
root.log.gz

I think this is caused by gcc-c++ 6.0.0.

Error message 2015.03-2:

/usr/include/c++/6.0.0/type_traits:143:12: error: invalid use of incomplete type 'std::conditional<true, std::is_constructible<CGAL::Plane_3<CGAL::Simple_cartesian<double> >, CGAL::Plane_3<CGAL::Simple_cartesian<double> >&&>, std::is_constructible<CGAL::Sphere_3<CGAL::Simple_cartesian<double> >, CGAL::Sphere_3<CGAL::Simple_cartesian<double> >&&> >::type {aka struct std::is_constructible<CGAL::Plane_3<CGAL::Simple_cartesian<double> >, CGAL::Plane_3<CGAL::Simple_cartesian<double> >&&>}'
     struct __and_<_B1, _B2>
            ^~~~~~~~~~~~~~~~
/usr/include/c++/6.0.0/type_traits:1115:12: note: declaration of 'std::conditional<true, std::is_constructible<CGAL::Plane_3<CGAL::Simple_cartesian<double> >, CGAL::Plane_3<CGAL::Simple_cartesian<double> >&&>, std::is_constructible<CGAL::Sphere_3<CGAL::Simple_cartesian<double> >, CGAL::Sphere_3<CGAL::Simple_cartesian<double> >&&> >::type {aka struct std::is_constructible<CGAL::Plane_3<CGAL::Simple_cartesian<double> >, CGAL::Plane_3<CGAL::Simple_cartesian<double> >&&>}'
     struct is_constructible
            ^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.0.0/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/6.0.0/bits/stl_tree.h:63,
                 from /usr/include/c++/6.0.0/set:60,
                 from src/CGAL_workaround_Mark_bounded_volumes.h:27,
                 from src/cgal.h:23,
                 from src/cgalutils.h:3,
                 from src/cgalutils.cc:3:

For master:

...
                 from src/cgal.h:15,
                 from src/cgalutils.h:3,
                 from src/cgalutils.cc:6:

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions