* gcc_ppc error - deque - virtual functions are abstract
@ 2002-07-04 0:13 Sujatha, Narayanan (IE10)
0 siblings, 0 replies; only message in thread
From: Sujatha, Narayanan (IE10) @ 2002-07-04 0:13 UTC (permalink / raw)
To: gcc-help
Hi,
I am using std::stack<int> teststack (second parameter is deque -
default)
The following error occurs during compilation with gcc_ppc compiler(gcc 3.0)
- dinkumware libraries.
The error comes only with gcc_ppc compiler and not with gcc compiler.
The problem persists (error in deque) even if std::list was used ( typedef
std::stack < int, std::list < int > > liststack; ).
Kindly provide some solutions.
./Include/deque:634: cannot declare
parameter `_Where' to be of type `std::deque<_Ty, _Ax>::iterator'
./Include/deque:634: because the following
virtual functions are abstract:
./Include/deque:314: std::deque<_Ty,
_Ax>::iterator std::operator+(std::_Deque_val<_Ty,
_Ax>::_Alty::difference_type, const std::deque<_Ty, _Ax>::iterator&)
./Include/deque:670: cannot declare
parameter `_Where' to be of type `std::deque<_Ty, _Ax>::iterator'
./Include/deque:670: since type `
std::deque<_Ty, _Ax>::iterator' has abstract virtual functions
./Include/deque:676: cannot declare
parameter `_Where' to be of type `std::deque<_Ty, _Ax>::iterator'
./Include/deque:676: since type `
std::deque<_Ty, _Ax>::iterator' has abstract virtual functions
Thanks in advance,
Sujatha
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-04 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04 0:13 gcc_ppc error - deque - virtual functions are abstract Sujatha, Narayanan (IE10)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).