This is the mail archive of the cygwin mailing list for the Cygwin 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: llvm/clang 3.0-1 silently ignores C++ exception handling


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


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