[Bug c++/18634] out of memory

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 23 23:31:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-23 23:31 -------
With the mainline I get errors:
/home/ivan/ootbc/common/include/powerset.hh: In instantiation of 'powerset<size_t, 
standardAllocator>':
/home/ivan/ootbc/common/include/display.hh:433:   instantiated from here
/home/ivan/ootbc/common/include/powerset.hh:120: error: template parameter 'template<class> 
class alloc'
/home/ivan/ootbc/common/include/powerset.hh:134: error: redeclared here as 'template<class E, 
template<class> class alloc> template<class> class A2'
/home/ivan/ootbc/common/include/powerset.hh: In instantiation of 'powerset<size_t, 
standardAllocator>::iterator':
/home/ivan/ootbc/common/include/display.hh:498:   instantiated from here
/home/ivan/ootbc/common/include/powerset.hh:120: error: template parameter 'template<class> 
class alloc'
/home/ivan/ootbc/common/include/powerset.hh:209: error: redeclared here as 'template<class E, 
template<class> class alloc> template<class> class A2'
/home/ivan/ootbc/common/include/pile.hh: In destructor 'pileBase::~pileBase()':
/home/ivan/ootbc/common/include/pile.hh:125: error: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion for the second:
/home/ivan/ootbc/common/include/comtype.hh:264: note: candidate 1: bool operator!=(const T*, 
nil_t) [with T = block]
/home/ivan/ootbc/common/include/pile.hh:125: note: candidate 2: operator!=(block*, block*) <built-
in>
/home/ivan/ootbc/common/include/pile.hh:130: error: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion for the second:


-- 


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



More information about the Gcc-bugs mailing list