[ERROR]
An option ' -Tvtd' is provided by the compiler to let the user specify the delta value size. The delta value is used in virtual functions management in order to set up the value of the THIS pointer. Delta value is stored in virtual tables. Letting the user specify the size of the delta value can save memory space. But one can imagine that the specified size can be too short, that is the aim of this error message.
class A{
public:
long a[33]
};
class B{
public:
void virtual fct2 (void){}
};
class C : public A, public B{
public:
};
void main (void){
C c;
c.fct2();
}
If the previous example is compiled using the option \c -Tvtd1 then the minimal value allowed for delta is (-128) and a real value of delta is -(4*33)=-132.
Specify a larger size for the delta value: -Tvtd2.