Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#224 undefined references to typeinfo symbols

open
nobody
None
5
2011-05-15
2011-05-15
Anonymous
No

This problem ONLY happens when using polymorphic template classes
(ones that have virtual functions) and building libraries as DLLs.

There is no issue if we use static libraries, or non-polymorphic classes
or non-template classes.

"--export-all" option can be used to "extract" those symbols, but it is not
a ideal solution since other unwanted symbols also get exported.

Please see the attached test suite for more details.

Discussion


  • Anonymous
    2011-05-15

     
    Attachments
  • Jonathan Yong
    Jonathan Yong
    2011-05-16

    This is a known GCC bug, see <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40068>.