Question on try/catch/throw statements in system headers

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 11 12:36:52 PST 2013


I see throws in g++ 4.8's headers. It is a regular small annoyance
when reducing testcases since as soon as the line markers are deleted
clang compalins about them.

On 11 November 2013 15:32, Gao, Yunzhong
<yunzhong_gao at playstation.sony.com> wrote:
> A gentle ping...
>
>
>
> From: Gao, Yunzhong
> Sent: Thursday, October 17, 2013 2:53 PM
> To: cfe-commits at cs.uiuc.edu
> Cc: 'rjmccall at apple.com'; 'andersca at mac.com'
> Subject: Question on try/catch/throw statements in system headers
>
>
>
> Hi fellow LLVMers,
>
> I noticed that if I use try/catch/throw statement in the system headers, and
> I compile with -fno-exceptions,
>
> I do not get my usual diagnostics thanks to commit r126303. My question is
> whether there are still such
>
> system headers around that need to use try/catch/throw statements, or is it
> alright to revert r126303 to
>
> match gcc behavior?
>
> Many thanks,
>
> - Gao
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list