Suggested FAQ entry

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Sat Apr 10 23:58:00 GMT 1999


Doug Semler <doug@seaspace.com> writes:

| This should probably be a FAQ entry, we wasted eight man hours tracking 
| this problem down, and AFAICT it isn't anywhere to be found in the docs or
| the FAQ, if I missed it, please tell me :)...
| 
| Problem:

[...]

| Solution:
|   Make sure there exists a definition for all virtual functions
|   declared in the header file - especially the first one declared (and not
|   defined in the class declaration) - even if the functions are never used.

This belongs to C++ per se, not EGCS. Doesn't it?

-- Gaby


More information about the Gcc-bugs mailing list