llvm/clang 3.0-1 silently ignores C++ exception handling

Christian Franke Christian.Franke@t-online.de
Wed Feb 1 20:05:00 GMT 2012


René Berber wrote:
> On 2/1/2012 12:21 AM, Christian Franke wrote:
>
>> Must be at least somewhat Cygwin specific. Clang on i686 Linux generates
>> exception handling code properly (tested with clang 2.9 on Debian).
> Are you using -fcxx-exeptions ?
>
> I think you have to enable exceptions with that flag, by default their
> handling is disabled.

Adding -fcxx-exceptions has no effect. According to "clang++ -v ..." 
output, -fcxx-exceptions and -fexceptions are enabled by default.

Christian


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list