- 论坛徽章:
- 0
|
solaris + STL + vector : compile error!
/usr/local/include/c++/3.2.3/bits/stl_vector.h:815: `_M_start' was not declared
in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:815: `_M_finish' was not
declared in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:815: initializer list being
treated as compound expression
/usr/local/include/c++/3.2.3/bits/stl_vector.h:816: `_M_start' was not declared
in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:816: `_M_end_of_storage' was not
declared in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:816: `_M_start' was not declared
in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:816: initializer list being
treated as compound expression
/usr/local/include/c++/3.2.3/bits/stl_vector.h:817: `__tmp' was not declared in
this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:818: `__xlen' was not declared
in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:819: syntax error before `}'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:822: `__i' was not declared in
this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:822: redefinition of `int
_Destroy'
/usr/local/include/c++/3.2.3/bits/stl_vector.h:815: `int _Destroy' previously
defined here
/usr/local/include/c++/3.2.3/bits/stl_vector.h:815: `int _Destroy' previously
defined here
/usr/local/include/c++/3.2.3/bits/stl_vector.h:822: initializer list being
treated as compound expression
/usr/local/include/c++/3.2.3/bits/stl_vector.h:823: syntax error before `}'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:826: `_M_finish' was not
declared in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:826: initializer list being
treated as compound expression
/usr/local/include/c++/3.2.3/bits/stl_vector.h:827: syntax error before `}'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:828: `__xlen' was not declared
in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:829: syntax error before `}'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:834: syntax error before `::'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:834: syntax error before `&'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h: In function `int
_M_fill_assign(...)':
/usr/local/include/c++/3.2.3/bits/stl_vector.h:836: `__n' undeclared (first us
this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:836: `capacity' undeclared
(first use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:837: `vector' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:837: `_Alloc' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:837: `__val' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:837: `get_allocator' undeclared
(first use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:837: `__tmp' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:838: invalid use of `this' in
non-member function
/usr/local/include/c++/3.2.3/bits/stl_vector.h:841: `begin' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:841: `fill' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:842: `uninitialized_fill_n'
undeclared (first use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:845:45: macro "erase" passed 2
guments, but takes just 0
/usr/local/include/c++/3.2.3/bits/stl_vector.h: At global scope:
/usr/local/include/c++/3.2.3/bits/stl_vector.h:849: syntax error before `::'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:849: `_InputIter' was not
declared in this scope
/usr/local/include/c++/3.2.3/bits/stl_vector.h:849: syntax error before `,'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h: In function `int
_M_assign_aux(...)':
/usr/local/include/c++/3.2.3/bits/stl_vector.h:851: `iterator' undeclared
(first use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:851: syntax error before `('
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:852: `__first' undeclared (firs
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:852: `__last' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:852: `__cur' undeclared (first
use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:855:23: macro "erase" passed 2
guments, but takes just 0
/usr/local/include/c++/3.2.3/bits/stl_vector.h: At global scope:
/usr/local/include/c++/3.2.3/bits/stl_vector.h:862: syntax error before `::'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h:862: syntax error before `,'
token
/usr/local/include/c++/3.2.3/bits/stl_vector.h: In function `int
_M_assign_aux(...)':
/usr/local/include/c++/3.2.3/bits/stl_vector.h:863: redefinition of `int
_M_assign_aux(...)'
/usr/local/include/c++/3.2.3/bits/stl_vector.h:850: `int _M_assign_aux(...)'
previously defined here
/usr/local/include/c++/3.2.3/bits/stl_vector.h:863: redefinition of `int
_M_assign_aux(...)'
/usr/local/include/c++/3.2.3/bits/stl_vector.h:850: `int _M_assign_aux(...)'
previously defined here
/usr/local/include/c++/3.2.3/bits/stl_vector.h:864: `size_type' undeclared
(first use this function)
/usr/local/include/c++/3.2.3/bits/stl_vector.h:864: syntax error before `=' |
|