/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_vector.h: In member function `void std::vector<_Tp, _Alloc>::resize(size_t) [with _Tp = cell, _Alloc = std::allocator<cell>]':
h3main.cpp:11: instantiated from here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_vector.h:412: error: cannot allocate an object of type `cell'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_vector.h:412: error: because the following virtual functions are abstract:
data.h:36: error: virtual void cell::print(std::ostream&)
data.h:35: error: virtual cell_type cell::getType()
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_construct.h: In function `void std::_Construct(_T1*, const _T2&) [with _T1 = cell, _T2 = cell]':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_uninitialized.h:86: instantiated from `_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const cell*, std::vector<cell, std::allocator<cell> > >, _ForwardIterator = cell*]'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_uninitialized.h:112: instantiated from `_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const cell*, std::vector<cell, std::allocator<cell> > >, _ForwardIterator = cell*]'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_vector.h:221: instantiated from `std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = cell, _Alloc = std::allocator<cell>]'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_vector.h:412: instantiated from `void std::vector<_Tp, _Alloc>::resize(size_t) [with _Tp = std::vector<cell, std::allocator<cell> >, _Alloc = std::allocator<std::vector<cell, std::allocator<cell> > >]'
h3main.cpp:9: instantiated from here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_construct.h:81: error: cannot allocate an object of type `cell'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_construct.h:81: error: since type `cell' has abstract virtual functions
make[2]: *** [build/Debug/Cygwin-Windows/h3main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2 |