Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss]The brittle VS series compilers

Subject: CGAL users discussion list

List archive

[cgal-discuss]The brittle VS series compilers


Chronological Thread 
  • From: "Max" <>
  • To: "" <>
  • Subject: [cgal-discuss]The brittle VS series compilers
  • Date: Sat, 19 Jan 2008 21:15:43 +0800
  • Disposition-notification-to: "Max" <>
  • Organization: LoadCom

Hi all,

With just several line of code, I get the VS2005 compiler
choked.

The code:

template<class Polyhedron_3>
std::vector<CGAL::Polygon_2<typename Polyhedron_3::Traits> >
Intersect_polyhedron_with_xoy( const Polyhedron_3& P )
{
std::vector<CGAL::Polygon_2<typename Polyhedron_3::Traits> > r;
// ...
return r;
}

typedef CGAL::Extended_homogeneous<CGAL::Gmpzf> Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron_3;

Polyhedron_3 P;
// ...
Intersect_polyhedron_with_xoy(P);

I got a fatal error C1001.

Is the MS compiler so brittle?

B/Rgds
Max



Archive powered by MHonArc 2.6.16.

Top of Page