Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--disable-libmudflap --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-2)

Command which triggers bug:

./configure  CXXFLAGS=-I/opt/intel/mkl/9.0/include/ 
make 


Complier Output:
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"MH-Tools\"
-DPACKAGE_TARNAME=\"mh-tools\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"MH-Tools\ 1.0\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]"
-DPACKAGE=\"mh-tools\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1
-DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -I.     -I/opt/intel/mkl/9.0/include/ -MT
ThreadPool.lo -MD -MP -MF .deps/ThreadPool.Tpo -c -o ThreadPool.lo `test -f
'./Threads/ThreadPool.cpp' || echo './'`./Threads/ThreadPool.cpp
 g++ -DPACKAGE_NAME=\"MH-Tools\" -DPACKAGE_TARNAME=\"mh-tools\"
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"MH-Tools 1.0\""
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mh-tools\"
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1
-DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRDUP=1
-DHAVE_STRNDUP=1 -I. -I/opt/intel/mkl/9.0/include/ -MT ThreadPool.lo -MD -MP
-MF .deps/ThreadPool.Tpo -c ./Threads/ThreadPool.cpp  -fPIC -DPIC -o
.libs/ThreadPool.o
In file included from /usr/include/c++/4.2/vector:70,
                 from ./Threads/ThreadPool.h:37,
                 from ./Threads/ThreadPool.cpp:6:
/usr/include/c++/4.2/bits/stl_vector.h:158: error: expected type-specifier
/usr/include/c++/4.2/bits/stl_vector.h:158: error: expected '>'
/usr/include/c++/4.2/bits/stl_vector.h:179: error: typedef name may not be a
nested-name-specifier
/usr/include/c++/4.2/bits/stl_vector.h:179: error: expected ';' before '<'
token
/usr/include/c++/4.2/bits/stl_vector.h:180: error: typedef name may not be a
nested-name-specifier
/usr/include/c++/4.2/bits/stl_vector.h:180: error: expected ';' before '<'
token
/usr/include/c++/4.2/bits/stl_vector.h:362: error: 'reverse_iterator' does not
name a type
/usr/include/c++/4.2/bits/stl_vector.h:371: error: 'const_reverse_iterator'
does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:380: error: 'reverse_iterator' does not
name a type
/usr/include/c++/4.2/bits/stl_vector.h:389: error: 'const_reverse_iterator'
does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:783: error: '__true_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:796: error: '__false_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:807: error:
'mhthreads::std::input_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h:817: error:
'mhthreads::std::forward_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h:835: error: '__true_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:845: error: '__false_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:856: error:
'mhthreads::std::input_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h:862: error:
'mhthreads::std::forward_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h:876: error: '__true_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:886: error: '__false_type' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h:897: error:
'mhthreads::std::input_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h:903: error:
'mhthreads::std::forward_iterator_tag' has not been declared
/usr/include/c++/4.2/bits/stl_vector.h: In constructor
'mhthreads::std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const
_Alloc&)':
/usr/include/c++/4.2/bits/stl_vector.h:214: error: '__uninitialized_fill_n_a'
is not a member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In copy constructor
'mhthreads::std::vector<_Tp, _Alloc>::vector(const mhthreads::std::vector<_Tp,
_Alloc>&)':
/usr/include/c++/4.2/bits/stl_vector.h:231: error: '__uninitialized_copy_a' is
not a member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In constructor
'mhthreads::std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator,
const _Alloc&)':
/usr/include/c++/4.2/bits/stl_vector.h:257: error: '__is_integer' in namespace
'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:257: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:258: error: there are no arguments to
'_Integral' that depend on a template parameter, so a declaration of
'_Integral' must be available
/usr/include/c++/4.2/bits/stl_vector.h:258: error: (if you use '-fpermissive',
G++ will accept your code, but allowing the use of an undeclared name is
deprecated)
/usr/include/c++/4.2/bits/stl_vector.h: In destructor
'mhthreads::std::vector<_Tp, _Alloc>::~vector()':
/usr/include/c++/4.2/bits/stl_vector.h:268: error: '_Destroy' is not a member
of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator)':
/usr/include/c++/4.2/bits/stl_vector.h:313: error: '__is_integer' in namespace
'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:313: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:314: error: there are no arguments to
'_Integral' that depend on a template parameter, so a declaration of
'_Integral' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_range_check(size_t) const':
/usr/include/c++/4.2/bits/stl_vector.h:498: error: there are no arguments to
'__throw_out_of_range' that depend on a template parameter, so a declaration of
'__throw_out_of_range' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp,
_Alloc>::insert(__gnu_cxx::__normal_iterator<typename
mhthreads::std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer,
mhthreads::std::vector<_Tp, _Alloc> >, _InputIterator, _InputIterator)':
/usr/include/c++/4.2/bits/stl_vector.h:675: error: '__is_integer' in namespace
'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:675: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:676: error: there are no arguments to
'_Integral' that depend on a template parameter, so a declaration of
'_Integral' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::swap(mhthreads::std::vector<_Tp,
_Alloc>&)':
/usr/include/c++/4.2/bits/stl_vector.h:730: error: 'swap' is not a member of
'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h:731: error: 'swap' is not a member of
'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h:732: error: 'swap' is not a member of
'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h:737: error: '__alloc_swap' is not a
member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h:737: error: expected primary-expression
before '>' token
/usr/include/c++/4.2/bits/stl_vector.h:737: error: '::_S_do_it' has not been
declared
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'typename
mhthreads::std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer
mhthreads::std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_t,
_ForwardIterator, _ForwardIterator)':
/usr/include/c++/4.2/bits/stl_vector.h:766: error: '__uninitialized_copy_a' is
not a member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer,
int)':
/usr/include/c++/4.2/bits/stl_vector.h:787: error: '__uninitialized_fill_n_a'
is not a member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
_InputIterator, int)':
/usr/include/c++/4.2/bits/stl_vector.h:798: error: 'iterator_traits' in
namespace 'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:798: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:800: error: there are no arguments to
'_IterCategory' that depend on a template parameter, so a declaration of
'_IterCategory' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator,
_ForwardIterator, int)':
/usr/include/c++/4.2/bits/stl_vector.h:819: error: 'distance' is not a member
of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h:823: error: '__uninitialized_copy_a' is
not a member of 'mhthreads::std'
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator,
_InputIterator, int)':
/usr/include/c++/4.2/bits/stl_vector.h:847: error: 'iterator_traits' in
namespace 'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:847: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:849: error: there are no arguments to
'_IterCategory' that depend on a template parameter, so a declaration of
'_IterCategory' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp,
_Alloc>::_M_insert_dispatch(__gnu_cxx::__normal_iterator<typename
mhthreads::std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer,
mhthreads::std::vector<_Tp, _Alloc> >, _InputIterator, _InputIterator, int)':
/usr/include/c++/4.2/bits/stl_vector.h:888: error: 'iterator_traits' in
namespace 'mhthreads::std' does not name a type
/usr/include/c++/4.2/bits/stl_vector.h:888: error: expected unqualified-id
before '<' token
/usr/include/c++/4.2/bits/stl_vector.h:890: error: there are no arguments to
'_IterCategory' that depend on a template parameter, so a declaration of
'_IterCategory' must be available
/usr/include/c++/4.2/bits/stl_vector.h: In member function 'void
mhthreads::std::vector<_Tp, _Alloc>::_M_erase_at_end(typename
mhthreads::std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer)':
/usr/include/c++/4.2/bits/stl_vector.h:921: error: '_Destroy' 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: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

Reply via email to