This is the mail archive of the gcc-help@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]

Re: Cannot catch exceptions thrown in a shared library under MS windows


Brian Dessent wrote:

> You can't throw/catch across DLLs with static libgcc.  Stock FS gcc

(Typo, FSF)

> > In the wiki I found that this problem is a result of different
> > visibility models in gcc3 vs. gcc4, so I tried different compiler
> > switches (-fvisibility=default), but did not get any running configuration.
> 
> That may also apply but it's not the reason why this does not work.
> Static libgcc is the reason.

Actually, that probably does not apply at all because symbol visibility
is an ELF-only feature.

Brian


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