When compiling using gcc-4.1.0 I get this errors in the stl headers:
-------------------------------------------------------------------------------
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/stl_bvector.h: In member function 'void std::vector<bool,
_Alloc>
::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator,
std::f
orward_iterator_tag)':
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/stl_bvector.h:542: error: expected unqualified-id before '('
toke
n
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/stl_bvector.h: In member function 'void std::vector<bool,
_Alloc>
::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/stl_bvector.h:897: error: expected unqualified-id before '('
toke
n
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/vector.tcc: In member function 'void std::vector<_Tp,
_Alloc>::_M
_fill_insert(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp,
_Alloc
>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/vector.tcc:353: error: expected unqualified-id before '(' token
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/vector.tcc: In member function 'void std::vector<_Tp,
_Alloc>::_M
_range_insert(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp,
_Allo
c>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator,
_Forw
ardIterator, std::forward_iterator_tag)':
/home/jacob/gcc41bin/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../include/
c++/4.1.0/bits/vector.tcc:452: error: expected unqualified-id before '(' token
------------------------------------------------------------------------------
The line in stl_bector.h is:

252: const size_type __len = size() + std::max(size(), __n);

Question:
---------
Is this due to some misconfiguration from my side?
Is this a known problem?

Thanks in advance for your help

jacob navia
ants software


-- 
           Summary: Error in stl_bvector.h
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jacob dot navia at ants dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27217

Reply via email to