[cfe-dev] Clang for Windows and Boost

Óscar Fuentes ofv at wanadoo.es
Thu Mar 17 19:30:19 PDT 2011


John McCall <rjmccall at apple.com> writes:

>>> What do you mean that clang on mingw lacks support ?
>> 
>> "lacks *eh* support".
>> 
>> eh = exception handling.
>
> Out of curiosity, what's the mingw exception model?

Last time I checked, official MinGW was configured with setjump/longjump
while other distributions used DWARF2. The latter offers better
performance but fails to work when it has to unwind a stack frame that
belongs to a Windows function (that's the case when you throw an
exception from a callback.)



More information about the cfe-dev mailing list