CGAL-based CSG meshing broken with GCC 4.8
Issue #135
invalid
Most/all CGAL-based 3D mesh generation code fails and throws cryptic errors when using GCC 4.8, for example
demo/documented/csg-3D/
demo/undocumented/curl-curl
Comments (5)
-
reporter -
Those demos work fine for me with GCC 4.8.1, but I have a (manually) patched std::nth_element. Could you try editing
/usr/include/c++/4.8/bits/stl_algo.h
(or wherever you have it located on your Mac) and edit the following two lines:
std::__move_median_to_first(__first, __first + 1, __mid, (__last - 1)); std::__move_median_to_first(__first, __first + 1, __mid, (__last - 1));
Should be -1 and not -2.
-
reporter The STL isn't broken on Mac ;-).
-
I forgot... Which machine / buildbot is failing for these demos?
-
reporter - changed status to invalid
Marking this report as invalid as cause appears to be the Ubuntu STL bug for nth_element.
- Log in to comment
This could be related to the STL std::nth_element bug in gcc 4.8.1. See Issue
#133.