[PATCH] Add a warning implementing C89 3.5.7p3

Richard Smith richard at metafoo.co.uk
Sun Jul 21 12:35:41 PDT 2013


On Sun, Jul 21, 2013 at 9:57 AM, Enea Zaffanella <zaffanella at cs.unipr.it>wrote:

> Please find attached a patch (with testcase) implementing part of C89
> 3.5.7 p3.


You mean *6*.5.7, both here and in the patch. Otherwise, LGTM.

C89 is stricter than C99, as it requires constant initializer list elements
> for aggregate/union type objects even when the objects do not have static
> storage duration.
>
> OK to commit?
>
> Enea.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130721/ea3fa864/attachment.html>


More information about the cfe-commits mailing list