Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-03 10:25:52


on Mon Jul 02 2007, Krishna Roskin <krish-AT-soe.ucsc.edu> wrote:

> When compiling this under GCC 4.0.1 I get an "'original_type' has not been
> declared" error in the function signature. The original_type in the function
> body is fine.
>
> If I change the type of initial_vertex and final_vertex to *, then everything
> works fine. Any idea why this code (which is almost the same as the example
> given for depth_first_search) doesn't work?
>
> Thanks for any help anyone can give and I hope everyone's having a good summer.

The answer is in http://svn.boost.org/trac/boost/ticket/1044

I hope we'll have the fix in 1.34.1

in the meantime I suggest you patch your local copy of Boost.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net