[cfe-dev] clang bug: constant array size is recognized as	variable array size
    Eli Friedman 
    eli.friedman at gmail.com
       
    Mon May 26 19:03:47 PDT 2008
    
    
  
On Mon, May 26, 2008 at 11:52 AM, John Freeman <freeman1 at gmail.com> wrote:
>> > > gcc accepts it, but clang thows this:
>> > >     error: variable length array declared outside of any function
> Perhaps it could use a better diagnostic, like:
>
> error: array declared outside of function without integer constant length
Okay, I changed the diagnostic to something similar to your suggestion.
-Eli
    
    
More information about the cfe-dev
mailing list