This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/36820] Exception can't be catched when --version-script is used



------- Comment #2 from alexi dot zuo at gmail dot com  2008-07-16 01:57 -------
Since libfoo.so is linked to libbar.so, and libfoo.so does not hide the
typeinfo of ebase (does that means all defintions in libfoo.so are visible to
libbar.so? ), I suppose libbar.so should be able to see the typeinfo of ebase
and can catch the exception.

By the way, how do you explain the problem disappears when I add an non-inline
virtual function to ebase (in a .cpp file exception.cpp)?

Thanks,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36820


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]