Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-11-03 22:51:46


Turned out the underlying cause of the errors were use of a templated
constructor. Very strange!

On Sat, 3 Nov 2001, James Curran/MVP wrote:

JamesC> Jeremy,
JamesC> I've taken your example given in the "Constructing a Graph" section of
JamesC> http://www.boost.org/libs/graph/doc/quick_tour.html and added "#include
JamesC> <string>" & "using namespace std;". It compiles fine for me with
JamesC> VC6SP5.
JamesC>
JamesC> Could you give a more explicit description of what triggers the
JamesC> problem?
JamesC>
JamesC> Truth,
JamesC> James Curran
JamesC>
JamesC> -----Original Message-----
JamesC>
JamesC> Message: 11
JamesC> Date: Fri, 2 Nov 2001 20:20:36 -0500 (EST)
JamesC> From: Jeremy Siek <jsiek_at_[hidden]>
JamesC> Subject: VC++, xlocnum problems, help!
JamesC>
JamesC>
JamesC> Trying to get a batch of new examples for the graph library to
JamesC> work with VC++...
JamesC>
JamesC> I'm getting lots of errors comming from the VC++ library
JamesC> header xlocnum that look like this:
JamesC>
JamesC> _U : illegal use of local variable as default parameter
JamesC>
JamesC> It seems that I get this problem when I #include <string>.
JamesC>
JamesC> Anyone know of a workaround?
JamesC>
JamesC>
JamesC>

----------------------------------------------------------------------
 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-3608
----------------------------------------------------------------------


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