Ian Lance Taylor <iant@xxxxxxxxxx> writes: > The compiler is creating the virtual table for B in main.cpp, so it > needs to create the type_info object also. If you compile code > without using -fno-rtti, then the compiler always adds typinfo > information to virtual tables. Thank you very much, Ian.