Boost logo

Boost :

From: chifung_at_[hidden]
Date: 2001-08-31 03:41:03


Hi,

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:

c:\BOOST\BOOST_1_24_0\boost/graph/detail/adjacency_list.hpp(516) :
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.

dijkstra_shortest_paths
  (G, s, distance_map(&d[0]).predecessor_map(&p[0]));

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
problem.

Thanks,

Chi

--- In boost_at_y..., max.anziutti_at_r... wrote:
> >As a general procedure when first using a library, try to repeat
the
> >results of the regression tests from the appropriate status page.
> >See
> >http://www.boost.org/status/compiler_status.html
>
> >If you can't duplicate the results, that's a strong indication you
> >don't
> >have the compiler set up correctly for the library in question.
>
> >Hope that helps,
>
> >--Beman
>
> I tried to run regression test and the results are OK. The problem
is
> 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
> dijkstra_shortest_paths
> (G, s, distance_map(&d[0]).predecessor_map(&p[0]));
>
> 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