[Bug c++/35535] stl_vector.h Compilation error

2008-03-12 Thread dileeshjostin at rediffmail dot com
--- Comment #2 from dileeshjostin at rediffmail dot com 2008-03-12 09:13 --- (In reply to comment #1) > Can you provide the preprocessed source? > i am a newbie in this field ..Could you please tell me how to preprocess a source ? I have to give some additonal optionw wit

[Bug c++/35535] New: stl_vector.h Compilation error

2008-03-10 Thread dileeshjostin at rediffmail dot com
mp;)': /usr/include/c++/4.2/bits/stl_vector.h:941: error: 'equal' is not a member of 'mhthreads::std' /usr/include/c++/4.2/bits/stl_vector.h: In function 'bool mhthreads::std::operator<(const mhthreads::std::vector<_Tp, _Alloc>&, const mhthreads::std::vector<_Tp, _Alloc>&)': /usr/include/c++/4.2/bits/stl_vector.h:957: error: 'lexicographical_compare' is not a member of 'mhthreads::std' In file included from /usr/include/c++/4.2/vector:71, from ./Threads/ThreadPool.h:37, from ./Threads/ThreadPool.cpp:6: /usr/include/c++/4.2/bits/stl_bvector.h: At global scope: /usr/include/c++/4.2/bits/stl_bvector.h:111: error: expected template-name before '<' token /usr/include/c++/4.2/bits/stl_bvector.h:111: error: expected `{' before '<' token /usr/include/c++/4.2/bits/stl_bvector.h:111: error: expected unqualified-id before '<' token In file included from ./Threads/ThreadPool.cpp:6: ./Threads/ThreadPool.h:77: error: expected `}' at end of input ./Threads/ThreadPool.h:77: error: expected `}' at end of input make: *** [ThreadPool.lo] Error 1 -- Summary: stl_vector.h Compilation error Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dileeshjostin at rediffmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35535