Problem with 12th inheritance level
Description:
There was a limitation for 11 inheritance levels until version V5.30.
Base class + Super1 to Super10
The number of 11 inheritance levels was chosen as a sufficient number for usual class designs. Since version V5.30 the number of inheritance levels was increased to 32 inheritance levels.
Solution:
Since the limitation comes from the number of super names in the file ewtre.h you can simply add new levels there:
#define Super11 Super10._Super
#define Super12 Super11._Super
#define Super13 Super12._Super
#define Super14 Super13._Super
#define Super15 Super14._Super
...
Nevertheless we recommend considering also a review of the class design.
See also:
Keywords:
Inheritence, derived
Last update on 2010-08-19 by Mario Stefanutti.