Boost logo

Boost :

From: Pratt, Nick (npratt_at_[hidden])
Date: 2000-11-22 10:07:08


Thanks for the tips - Ive tried various combinations of the new header file,
with different run time library settings, and Im still left with 7 errors,
so the change to the header (uniform_cost_search.hpp) did do something.

Any other ideas?

Nick

-----Original Message-----
From: Andreas Scherer [mailto:as_at_[hidden]]
Sent: Wednesday, November 22, 2000 06:33
To: boost_at_[hidden]
Subject: [boost] Re: Simple VC6 project

--- In boost_at_[hidden], "Pratt, Nick" <npratt_at_m...> wrote:
> This is my compile output: (I tried adding the #include you
> mentioned, but I still get the same output)
>
> --------------------Configuration: GraphTest - Win32 Debug-------
> Compiling...
> GraphTest.cpp
> V:\3rdPARTY\SXL\INCLUDE\xlocnum(309) : error C2587: '_U' : illegal
> use of local variable as default parameter

That's the usual problem with MSVC-- 6.0 sp[34] when compiling some
(or all?) of the BGL examples. You can't use the DLL version of the
run-time system. I succeeded in compiling file_dependencies.cpp
after switching to "[Debug] Multithreaded" (section "Code Generation"
on page "C/C++" in the "Project Settings").

As Jeremy already said, you have to correct (at least) line 125 of
uniform_cost_search.hpp; just get the latest version from the CVS.

Andreas


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