https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356

            Bug ID: 63356
           Summary: Compilation failure where clang does not have problems
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fiesh at zefix dot tv

I originally filed this as a boost bug:
https://svn.boost.org/trac/boost/ticket/10531

However, given that clang 3.4.2 has no problems compiling it, I suspect it
might be a gcc issue.

In short, the following code, as of boost 1.56.0, fails to compile with wild
error messages, using 4.9.1 as well as 4.8.3:

#include <vector>
#include <boost/polygon/polygon.hpp>
int main()
{
    typedef boost::polygon::polygon_data<int> Polygon;
    typedef boost::polygon::polygon_set_data<int> PolygonSet;
    PolygonSet ps;
    std::vector<Polygon> output;
    ps.get(output);
}

(It does work with boost <= 1.55.0 however!)

Reply via email to