-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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"wontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
Bugzilla Link | 3981 |
Resolution | WONTFIX |
Resolved on | Mar 12, 2010 00:56 |
Version | unspecified |
OS | All |
Reporter | LLVM Bugzilla Contributor |
CC | @DougGregor,@efriedma-quic |
Extended Description
Consider the following C source code:
struct foo;
struct foo { struct foo f; };
The follow error output is produced:
s.c:2:25: error: field has incomplete type 'struct foo'
struct foo { struct foo f; };
^
s.c:2:8: note: definition of 'struct foo' is not complete until the closing '}'
struct foo { struct foo f; };
^
2 diagnostics generated.
These diagnostic messages could be improved. Particularly, the second message is spurious.
On an unrelated note, perhaps "Diagnostics" should be a category in Bugzilla to report bugs against...
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"wontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid