Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-09-05 09:53:10


I think the extra complication of the named parameters is what is killing
VC++ in this case. One thing you might try as a temporary workaround is
by-passing the public interface to dijkstra_shortest_paths and calling the
implementation function in namespace detail.

When I get the chance I will create non-named parameter public versions of
these functions as a workaround for VC++.

On Wed, 5 Sep 2001 peter.gerell_at_[hidden] wrote:
peter.> Hi,
peter.> has anyone managed to compile this example with MSVC++ 6.0.
peter.>
peter.> I get the following error:
peter.> c:\program files\microsoft visual studio\vc98\include\ostream(316) :
peter.> fatal error C1001: INTERNAL COMPILER ERROR
peter.> (compiler file 'E:\8966\vc98\p2\src\P2\ehexcept.c', line 577)
peter.>
peter.> I have disabled all optimizations.
peter.>
peter.> The problem appears only if the following statement is present:
peter.> dijkstra_shortest_paths
peter.> (G, s, distance_map(&d[0]).predecessor_map(&p[0]));
peter.>
peter.> Do You think there is any way to help the compiler out.
peter.>
peter.> If not, does anyone use BGL with MSVC++ 7.
peter.> I have tried to do it myself, but I have not managed to get
peter.> config.hpp correct yet.
peter.>
peter.> Regards, Peter.
peter.>
peter.>
peter.>
peter.> Info: http://www.boost.org Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
peter.>
peter.> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
peter.>
peter.>

----------------------------------------------------------------------
 Jeremy Siek http://php.indiana.edu/~jsiek/
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster (http://www.boost.org) office phone: (812) 855-9761
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk