November 22, 2019, 06:08:09 am


Juju thinks he's so clever by putting funny stuff here

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

Need some help with C++

Started by gameblabla, April 11, 2016, 11:28:39 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hello guys,
never thought i would do that but when it comes to C++, i kind of suck.
Basically, i'm working on porting a Plus/4 & C16 emulator (yapeSDL) and it's programmed in C++.
It compiles fine with GCC 4.8 but it fails to build with GCC 5.3...
Why ? According to GCC :

main.cpp:61:30: error: invalid new-expression of abstract class type 'TED'
static TED    *ted8360 = new TED;
In file included from main.cpp:24:0:
tedmem.h:30:7: note:   because the following virtual functions are pure within 'TED':
class TED:

I have posted the source code here :

I looked at upstream but it seems like they have not fixed it.

Any ideas ?
Because i have yet to grapse the concept of classes...  :(


Looks like there's an abstract method you forgot to define

Powered by EzPortal