Date: 2001-08-31 03:41:03
I'm having the same problem here. I got the compiler internal error
when I compiled dijkstra.cpp using msvc6 sp5 (but it compiles and
runs ok when cygwin g++ is used). Then I removed all the iostream
related functions in dijkstra.cpp. The compilation still fails with
the following error:
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'E:\8966\vc98\p2\src\P2\ehexcept.c', line 577)
I traced the problem a little bit and found out that it is the
following statement causing the error.
(G, s, distance_map(&d).predecessor_map(&p));
BTW, I have done running the regression test on graph.cpp and the
results are ok. I noticed that graph.cpp doesn't have any test on
searching algorithms or named parameters. I suspect that if a
dijkstra test is added to graph.cpp, the regression test should fails
on msvc too.
I'm also a newbie to boost. Please correct me if I say anything
wrong. And please let me know if there's any workaround for this
--- In boost_at_y..., max.anziutti_at_r... wrote:
> >As a general procedure when first using a library, try to repeat
> >results of the regression tests from the appropriate status page.
> >If you can't duplicate the results, that's a strong indication you
> >have the compiler set up correctly for the library in question.
> >Hope that helps,
> I tried to run regression test and the results are OK. The problem
> that when i try to compile another example (dijkstra.cpp) i get an
> internal compiler error. I found the problem: if i comment out the
> function call
> (G, s, distance_map(&d).predecessor_map(&p));
> I can compile the file.
> The problem is that I would need dijstra function...
> The error is
> D:\Programmi\Microsoft Visual Studio\VC98\INCLUDE\ostream(316) :
> fatal error C1001: INTERNAL COMPILER ERROR
> (compiler file 'E:\8966\vc98\p2\src\P2\ehexcept.c', line 577)
> Please choose the Technical Support command on the Visual C++
> Thanks max
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk