Subject: CGAL users discussion list
List archive
- 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
- Post-doc offers at INRIA around CGAL, Sylvain Pion, 01/18/2008
- [cgal-discuss]Is there (or, should it perferrably be) a unified means to get the kernel type from a given specialised geometric type?, Max, 01/19/2008
- [cgal-discuss]The brittle VS series compilers, Max, 01/19/2008
Archive powered by MHonArc 2.6.16.