Boost logo

Boost :

From: Pratt, Nick (npratt_at_[hidden])
Date: 2000-11-21 22:12:09


Thanks for attempting this.

Im using MSVC6 SP4 (Ive tried the updated Dinkumware lib v2.33 and the
original one shipped with VC6).

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
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(308) : see declaration of '_U'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(309) : error C2228: left of '._Lo' must have
class/struct/union type
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(310) : error C2587: '_I' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(310) : see declaration of '_I'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(310) : error C2587: '_F' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(302) : see declaration of '_F'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(313) : error C2587: '_U' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(308) : see declaration of '_U'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(313) : error C2228: left of '._Lo' must have
class/struct/union type
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(313) : error C2587: '_I' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(310) : see declaration of '_I'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(313) : error C2587: '_Ac' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(311) : see declaration of '_Ac'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(313) : error C2587: '_Ep' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(311) : see declaration of '_Ep'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(314) : error C2587: 'this' : illegal use of
local variable as default parameter
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : see declaration of 'this'
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
V:\3rdPARTY\SXL\INCLUDE\xlocnum(314) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
        V:\3rdPARTY\SXL\INCLUDE\xlocnum(304) : while compiling
class-template member function 'class std::istreambuf_iterator<char,struct
std::char_traits<char> > __thiscall std::num_get<char,class
std::istreambuf_iterator<char,struct std::char_trai
ts<char> > >::do_get(class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::istreambuf_iterator<char,struct
std::char_traits<char> >,class std::ios_base &,int &,void *& ) const'
Error executing cl.exe.
GraphTest.exe - 11 error(s), 0 warning(s)


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