My Linux distribution recently updated from gcc 4.8.x to 4.9.0. Since then i am experiencing a crash when working with boost polygon set, even with simplest usage from the examples:
using namespace boost::polygon;
using namespace boost::polygon::operators;
geometry::BoostPolygonSet ps;
ps += rectangle_data<int>(0,0,10,10);
Crashes on the ps += line with the last thing being in:
/usr/include/boost/polygon/detail/polygon_arbitrary_formation.hpp
Line 289, which says:
Unit localx = *x_;
And *x_ is null
I tried different workarounds but nothing helps. Unfortunately ArchLinux does not provide a way to have more than 1 gcc versions installed in parallel, so i need to get it to work.
Any ideas? Thanx!
Update:
Recent archlinux update to gcc package gcc 4.9.0-2 solved the problem. Either a bug in gcc, or, due to the numbering, more possible a bug in ArchLinux package system. Not sure how to close a question (and yes i searched help ;-) ) consider it solved.