-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Bugzilla Link | 1885 |
Resolution | FIXED |
Resolved on | Mar 12, 2010 00:57 |
Version | unspecified |
OS | Linux |
Extended Description
Not sure if this is the right component.
gcc -fsyntax-only accepts the following, but clang does not:
static int array[];
Note that gcc also rejects this code with the -pedantic flag enabled.
Found in the ffmpeg source code.
On a side note, the error "variable has incomplete type 'int []'" is a bit obscure. It would be nice if the error actually gave a hint as to why this is an error.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"