This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Momchil Velikov wrote:
> Markus> test.cc: In function `int main(int, char**)':
> Markus> test.cc:15: cannot dynamic_cast `schale' (of type `class Pruzzel*') to type `
> Markus> class Proe*' (source type is not polymorphic)
> It needs at least one ``virtual'' function, e.g.
> ``virtual ~Pruzzel () {}''.
Thanks, that did it.
Markus
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |