This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18634] out of memory
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 23:31:20 -0000
- Subject: [Bug c++/18634] out of memory
- References: <20041123230847.18634.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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