-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzer
Description
| Bugzilla Link | 10169 |
| Version | trunk |
| OS | Linux |
| CC | @tkremenek,@seanm |
Extended Description
int foo;
int main(void)
{
return &foo ? 1 : 0;
}gives a warning with GCC 4.5.
Possible exceptions are: section, weak or weakref attribute set. This warning triggered at least one real bug in the NetBSD code base, so it is useful to have.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzer