bug-lib-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

G++ 4.0 and STL problem


From: Archana Naik
Subject: G++ 4.0 and STL problem
Date: Fri, 15 Jul 2005 11:57:03 -0700 (PDT)

Hi, All

I am trying compile my code on Fedora with gcc version
4.0.0 20050519 (Red Hat 4.0.0-8). Same code used to
compile just fine with 3.X versions of gcc but on 4.0
i get these stl errors.
For sample i am pasting few of them here:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_deque.h:
In member function âvoid std::_Deque_base<_Tp,
_Alloc>::_M_initialize_map(size_t)â:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_deque.h:452:
error: expected unqualified-id before â(â token
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_deque.h:452:
error: expected primary-expression before â)â token
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_deque.h:452:
error: expected `;' before â_S_initial_map_sizeâ
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/deque.tcc:
In member function âvoid std::deque<_Tp,
_Alloc>::_M_reallocate_map(size_t, bool)â:

any ideas?

Thanks
Archana

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]