Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Mahmood NT <>
  • To:
  • Subject: Re: Re: [cgal-discuss]The brittle VS series compilers
  • Date: Sun, 20 Jan 2008 22:55:24 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=v3jkeSuRmI6PtKiCVWiTIjvendkZRn9upHQuRljZ7hBTy9wXvEp22oOJprGwL/AzckdCjJ2NL9C4B6jSyABJILHlX1/Z8P9ACTvTu+Z2WAWQgGW6Vs+CpfbbwvDL+vYraHBDJBUTw04e25gieCaHFY6hbnOAlGp2jMyC5bGMfWY=;

>..\interface_polyhedron.cpp(176) : fatal error C1001: An internal error has
>occurred in the compiler.
>(compiler file 'msc1.cpp', line 1393)

Hi max,
This is a reported bug to msdn. Thing is, microsoft annouces for one service
pack for a special VS version. After that, if some one find a bug and report
to microsoft, the solution will be in the next version of VS.

Templates (typedef and typename) are bugy in VS. You can fix the problem (if
you want to use 2005) by exploring your code and reduce some additional and
unnecessary typedefs. I had the same problem with VS2003 (ICE after SP1) and
when I reduce the typedefs, I finally beat it.

Here is the link of my own experience
http://forums.microsoft.com/msdn/showpost.aspx?pageindex=1&siteid=1&postid=2395279&sb=0&d=1&at=7&ft=11&tf=0&pageid=0
maybe it give you a cue

Mahmood NT


----- Original Message ----
From: Max
<>
To:
""

<>
Sent: Sunday, January 20, 2008 4:47:14 PM
Subject: Re: Re: [cgal-discuss]The brittle VS series compilers

Hi Mahmood

the msg is as follows:

..\interface_polyhedron.cpp(176) : fatal error C1001: An internal error has
occurred in the compiler.
(compiler file 'msc1.cpp', line 1393)
To work around this problem, try simplifying or changing the program near the
locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

B/Rgds
Max


>> I got a fatal error C1001.
>
>
>Hi max,
>what is the detail of message. ICEs will show the the line of error
>(...\...\maic.c line NNN)
>
>Mahmood NT
>
>
>----- Original Message ----
>From: Max
><>
>To:
>""
>
><>
>Sent: Saturday, January 19, 2008 4:45:43 PM
>Subject: [cgal-discuss]The brittle VS series compilers
>
>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
>--
>You are currently subscribed to cgal-discuss.
>To unsubscribe or access the archives, go to
>https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
>
> ____________________________________________________________________________________
>Never miss a thing. Make Yahoo your home page.
>http://www.yahoo.com/r/hs
>--
>You are currently subscribed to cgal-discuss.
>To unsubscribe or access the archives, go to
>https://lists-sop.inria.fr/wws/info/cgal-discuss
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs



Archive powered by MHonArc 2.6.16.

Top of Page