=== modified file 'configure.ac' --- configure.ac 2013-02-04 11:26:29 +0000 +++ configure.ac 2013-02-13 07:48:52 +0000 @@ -117,8 +117,8 @@ # Don't pass CXXFLAGS to the following CXX command as some # of them can't be specified along with '-v'. - cc_version=["`$CXX -v 2>&1 &1 const &p, double t, vector &left, vector &right) { const unsigned sz = p.size(); - Geom::Point Vtemp[sz][sz]; + + Geom::Point **Vtemp = new Geom::Point* [sz]; + + for (int i = 0; i < sz; ++i) { + Vtemp[i] = new Geom::Point[sz]; + } /* Copy control points */ std::copy(p.begin(), p.end(), Vtemp[0]); === modified file 'src/2geom/recursive-bezier-intersection.cpp' --- src/2geom/recursive-bezier-intersection.cpp 2011-02-02 21:24:36 +0000 +++ src/2geom/recursive-bezier-intersection.cpp 2013-02-13 07:49:25 +0000 @@ -81,7 +81,12 @@ */ void OldBezier::split(double t, OldBezier &left, OldBezier &right) const { const unsigned sz = p.size(); - Geom::Point Vtemp[sz][sz]; + + Geom::Point **Vtemp = new Geom::Point* [sz]; + + for (int i = 0; i < sz; ++i) { + Vtemp[i] = new Geom::Point[sz]; + } /* Copy control points */ std::copy(p.begin(), p.end(), Vtemp[0]); === modified file 'src/2geom/solve-bezier-parametric.cpp' --- src/2geom/solve-bezier-parametric.cpp 2011-07-24 23:24:28 +0000 +++ src/2geom/solve-bezier-parametric.cpp 2013-02-13 07:49:25 +0000 @@ -68,9 +68,14 @@ break; } - /* Otherwise, solve recursively after subdividing control polygon */ - Geom::Point Left[degree+1], /* New left and right */ - Right[degree+1]; /* control polygons */ + /* + Otherwise, solve recursively after subdividing control polygon + New left and right control polygons + */ + + Geom::Point *Left = new Geom::Point[degree + 1]; + Geom::Point *Right = new Geom::Point[degree + 1]; + Bezier(w, degree, 0.5, Left, Right); total_subs ++; find_parametric_bezier_roots(Left, degree, solutions, depth+1); @@ -191,7 +196,11 @@ Geom::Point *Left, /* RETURN left half ctl pts */ Geom::Point *Right) /* RETURN right half ctl pts */ { - Geom::Point Vtemp[degree+1][degree+1]; + Geom::Point **Vtemp = new Geom::Point* [degree + 1]; + + for (int i = 0; i < degree + 1; ++i) { + Vtemp[i] = new Geom::Point[degree + 1]; + } /* Copy control points */ std::copy(V, V+degree+1, Vtemp[0]); === modified file 'src/color-profile.cpp' --- src/color-profile.cpp 2013-01-05 14:16:58 +0000 +++ src/color-profile.cpp 2013-02-13 07:49:25 +0000 @@ -103,6 +103,8 @@ static SPObjectClass *cprof_parent_class; +namespace Inkscape { + class ColorProfileImpl { public: #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) @@ -129,10 +131,6 @@ #endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) }; - - -namespace Inkscape { - #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) cmsColorSpaceSignature asICColorSpaceSig(ColorSpaceSig const & sig) {