Recent CVS; solaris2.7; gcc version 3.1 20010410; __ITERATOR_CATEGORY

Jim McKelvey mckelvey@eis-msg-012.jpl.nasa.gov
Thu Apr 12 11:03:00 GMT 2001


stl_bvector.h references undefined macro __ITERATOR_CATEGORY


g++ -c -g    -ansi -pedantic-errors -fno-common -fstrict-aliasing -Wall -W 
-Wsign-promo -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes 
-Wwrite-strings -Winline -Woverloaded-virtual -frepo -o SymbolTable.o 
SymbolTable.cc
In file included from SymbolTable.cc:26:
/mnt/home3/utilities/include/g++-v3/bits/boost_concept_check.h: In instantiation 
of `boost::BinaryFunctionConcept<std::less<const string_t>, bool, const 
string_t, const string_t>':
/mnt/home3/utilities/include/g++-v3/bits/stl_map.h:45:   instantiated from 
`std::map<const string_t, AutoRefAbsValue, std::less<const string_t>, 
std::allocator<std::pair<const string_t, AutoRefAbsValue> > >'
SymbolTable.h:304:   instantiated from here
/mnt/home3/utilities/include/g++-v3/bits/boost_concept_check.h:321: warning: 
non-static
   const member `const string_t boost::BinaryFunctionConcept<std::less<const 
   string_t>, bool, const string_t, const string_t>::first' in class without a 
   constructor
/mnt/home3/utilities/include/g++-v3/bits/boost_concept_check.h:322: warning: 
non-static
   const member `const string_t boost::BinaryFunctionConcept<std::less<const 
   string_t>, bool, const string_t, const string_t>::second' in class without a 
   constructor
/mnt/home3/utilities/include/g++-v3/bits/stl_bvector.h: In member function 
   `void std::vector<bool, _Alloc>::_M_insert_dispatch(std::_Bit_iterator, 
   _InputIterator, _InputIterator, _Bool<false>) [with _InputIterator = 
   std::_Bit_const_iterator, _Alloc = std::allocator<boolean_t>]':
/mnt/home3/utilities/include/g++-v3/bits/stl_bvector.h:638:   instantiated from 
`void std::vector<bool, _Alloc>::insert(std::_Bit_iterator, _InputIterator, 
_InputIterator) [with _InputIterator = std::_Bit_const_iterator, _Alloc = 
std::allocator<boolean_t>]'
SymbolTable.cc:668:   instantiated from here
/mnt/home3/utilities/include/g++-v3/bits/stl_bvector.h:631: 
`__ITERATOR_CATEGORY'
   undeclared (first use this function)
/mnt/home3/utilities/include/g++-v3/bits/stl_bvector.h:631: (Each undeclared 
   identifier is reported only once for each function it appears in.)
gmake: *** [SymbolTable.o] Error 1



More information about the Gcc-bugs mailing list