[cfe-commits] r126630 - in /cfe/trunk: include/clang/Driver/Options.td lib/CodeGen/CGException.cpp lib/Driver/Tools.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaStmt.cpp
John Wiegley
johnw at boostpro.com
Sun Feb 27 23:19:30 PST 2011
On Feb 28, 2011, at 2:07 AM, Chandler Carruth wrote:
> On Sun, Feb 27, 2011 at 10:57 PM, John Wiegley <johnw at boostpro.com> wrote:
> On Feb 27, 2011, at 9:27 PM, Anders Carlsson wrote:
> > Add a -fcxx-exceptions flag to the frontend, which can be used to enable
> > C++ exceptions, even when exceptions have been turned off using -fno-exceptions.
> > Make the -fobjc-exceptions flag do the same thing, but for Objective-C exceptions.
>
> This change makes it so that -fexceptions no longer enables exceptions for C++.
> Is this intended behavior? Do C++ users really need to use -fcxx-exceptions
> when using clang now?
>
> The plan as I understand it is for the driver to expand '-fexceptions' into both variants as needed. I'm observing this behavior in the driver with a fresh build, so I think this should all be working. Are you observing something different?
I'm seeing "exceptions are disabled" when using -fexceptions in a build as recent as about 10 minutes ago (from the Git mirrors). If there have been even more recent changes in Subversion to fix this, that's great.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110228/1ce9ffe7/attachment.html>
More information about the cfe-commits
mailing list