[cfe-commits] r66308 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/SemaDecl.cpp test/Sema/struct-decl.c

Chris Lattner clattner at apple.com
Sat Mar 7 00:22:07 PST 2009

On Mar 6, 2009, at 3:41 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Fri Mar  6 17:41:27 2009
> New Revision: 66308
> URL: http://llvm.org/viewvc/llvm-project?rev=66308&view=rev
> Log:
> Downgrade complaints about the use of variable-sized types within a
> struct to an extension warning to match the behavior of GNU C, which
> addresses the Sema part of PR3671.

I'm ok with allowing flexible arrays (int a[]), but we still should  
reject VLAs (int a[n]) right?


More information about the cfe-commits mailing list