[LLVMbugs] [Bug 13882] Clang should not accept initializer lists that cause arrays to have zero length

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 19 16:06:45 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13882

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-09-19 18:06:45 CDT ---
This is a combination of two enabled-by-default extensions:
 * A GNU extension allowing empty initializer lists.
 * An extension allowing zero-sized arrays.

-pedantic-errors will catch both of these.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list