Re: Linker error: undefined reference to typeinfo for A with no-rtti option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux