[cfe-dev] Diagnostics not restored when disabled from within PCH

Argyrios Kyrtzidis kyrtzidis at apple.com
Thu Oct 25 10:19:10 PDT 2012


On Oct 25, 2012, at 4:08 AM, Matthias Kleine <matthias_kleine at gmx.de> wrote:

> Hi all,
> 
> I just found that diagnostics that are temporarily disabled (using "#pragma clang diagnostic push/pop") from within precompiled headers are not re-enabled in the including file. Find attached a patch that extends the existing PCH-diagnostics-test to also test for this.
> 
> I'd be happy if someone could take care of this.

Thanks for the test case!
Could you please file a bug report in bugzilla ?

-Argyrios

> 
> Cheers,
> Matthias
> 
> <test_diagnostics_restored.patch>_______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list