This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc_ppc error - deque - virtual functions are abstract
- From: "Sujatha, Narayanan (IE10)" <Sujatha dot Narayanan at honeywell dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 4 Jul 2002 02:13:03 -0500
- Subject: gcc_ppc error - deque - virtual functions are abstract
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